# #af5ab2 color: Royalty Loyalty

#af5ab2 is rgb(175, 90, 178) in RGB and oklch(60.091% 0.15743 326.041) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/af5ab2

## Formats

| Format | Value |
| --- | --- |
| HEX | #af5ab2 |
| RGB | rgb(175, 90, 178) |
| HSL | hsl(297.95, 36.36%, 52.55%) |
| HSB / HSV | hsv(297.95 49.44% 69.8%) |
| HWB | hwb(297.95 35.29% 30.2%) |
| CMYK | cmyk(2% 49% 0% 30%) |
| Lab | lab(51.34 44.72 -31.81) |
| LCH | lch(51.34 54.88 324.58) |
| OKLab | oklab(60.091% 0.13058 -0.08794) |
| OKLCH | oklch(60.091% 0.15743 326.041) |
| Display P3 | color(display-p3 0.64274 0.37043 0.68004) |
| Rec. 2020 | color(rec2020 0.56078 0.33764 0.64051) |
| Adobe RGB | color(a98-rgb 0.60876 0.35454 0.68208) |
| ProPhoto RGB | color(prophoto-rgb 0.53396 0.34076 0.60487) |
| Linear sRGB | color(srgb-linear 0.42869 0.10224 0.4452) |
| XYZ D65 | color(xyz-d65 0.2937 0.19642 0.44365) |
| XYZ D50 | color(xyz-d50 0.29001 0.19566 0.33381) |
| SwiftUI | Color(red: 0.686, green: 0.353, blue: 0.698) |
| UIKit | UIColor(red: 0.686, green: 0.353, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFFAF5AB2) |
| Android XML | #AF5AB2 |

## Facts

- Closest name: Royalty Loyalty
- Hue family: Magenta, soft magenta
- Closest Tailwind class: fuchsia-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.26:1
- Contrast with black: 4.93:1

## Tints

#af5ab2, #b86bba, #c07cc2, #c98cca, #d19cd2, #d9add9, #e1bde1, #e9cde9, #f0def0, #f8eef8

## Shades

#af5ab2, #984d9a, #814183, #6b356d, #562957, #411e43, #2e132f, #1c091d, #0b030c, #010001

## Tones

#af5ab2, #ab5fad, #a764a8, #a268a4, #9e6c9f, #99709a, #957495, #907790, #8b7a8b, #867d86

## Harmonies

- Complementary: #af5ab2, #2f9841
- Split: #af5ab2, #7d8a00, #00997d
- Analogous: #af5ab2, #8a69d2, #c65183
- Triadic: #af5ab2, #a67800, #0094a4
- Tetradic: #af5ab2, #ce534c, #2f9841, #0094a4
- Square: #af5ab2, #c46100, #2f9841, #008bcf
- Monochromatic: #af5ab2, #640b68, #89358c, #d77fd9, #ffa5ff

## Questions about #af5ab2

### What color is #af5ab2?

#af5ab2 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(175, 90, 178), in HSL hsl(297.95, 36.36%, 52.55%) and in OKLCH oklch(60.091% 0.15743 326.041).

### What colors go well with #af5ab2?

The complementary color of #af5ab2 is #2f9841. For a calmer combination use the analogous colors #8a69d2 and #c65183. The triadic partners are #a67800 and #0094a4.

### Is white or black text more readable on #af5ab2?

White text reads better on #af5ab2: white gives a contrast ratio of 4.26:1 and black gives 4.93:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #af5ab2 a warm or cool color?

#af5ab2 is a neutral color. In OKLCH its hue is 326 degrees, its lightness 60.1% and its chroma 0.157.
