# #af5ba8 color: Royalty Loyalty

#af5ba8 is rgb(175, 91, 168) in RGB and oklch(59.76% 0.14647 330.382) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #af5ba8 |
| RGB | rgb(175, 91, 168) |
| HSL | hsl(305, 34.43%, 52.16%) |
| HSB / HSV | hsv(305 48% 68.63%) |
| HWB | hwb(305 35.69% 31.37%) |
| CMYK | cmyk(0% 48% 4% 31%) |
| Lab | lab(51.17 42.87 -26.27) |
| LCH | lch(51.17 50.28 328.5) |
| OKLab | oklab(59.76% 0.12734 -0.07239) |
| OKLCH | oklch(59.76% 0.14647 330.382) |
| Display P3 | color(display-p3 0.64307 0.37401 0.64329) |
| Rec. 2020 | color(rec2020 0.55936 0.34004 0.60083) |
| Adobe RGB | color(a98-rgb 0.60931 0.35827 0.64387) |
| ProPhoto RGB | color(prophoto-rgb 0.52773 0.3415 0.56552) |
| Linear sRGB | color(srgb-linear 0.42869 0.10462 0.39157) |
| XYZ D65 | color(xyz-d65 0.28487 0.19424 0.39296) |
| XYZ D50 | color(xyz-d50 0.28326 0.19412 0.29575) |
| SwiftUI | Color(red: 0.686, green: 0.357, blue: 0.659) |
| UIKit | UIColor(red: 0.686, green: 0.357, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFFAF5BA8) |
| Android XML | #AF5BA8 |

## Facts

- Closest name: Royalty Loyalty
- Hue family: Magenta, soft magenta
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.3:1
- Contrast with black: 4.88:1

## Tints

#af5ba8, #b86cb1, #c07cba, #c98cc2, #d19dcb, #d9add4, #e1bddc, #e9cde5, #f0deee, #f8eef6

## Shades

#af5ba8, #984e92, #81417c, #6b3567, #562952, #411e3f, #2e132c, #1c091a, #0b030a, #010001

## Tones

#af5ba8, #ab60a4, #a664a0, #a2689c, #9e6c98, #997094, #947390, #8f768c, #8a7988, #857c84

## Harmonies

- Complementary: #af5ba8, #27974e
- Split: #af5ba8, #748b00, #009783
- Analogous: #af5ba8, #8e68c9, #c3547b
- Triadic: #af5ba8, #a07a00, #0092a8
- Tetradic: #af5ba8, #c85847, #27974e, #0092a8
- Square: #af5ba8, #bc6600, #27974e, #0088cd
- Monochromatic: #af5ba8, #63105f, #893783, #d780cf, #ffa5f6

## Questions about #af5ba8

### What color is #af5ba8?

#af5ba8 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(175, 91, 168), in HSL hsl(305, 34.43%, 52.16%) and in OKLCH oklch(59.76% 0.14647 330.382).

### What colors go well with #af5ba8?

The complementary color of #af5ba8 is #27974e. For a calmer combination use the analogous colors #8e68c9 and #c3547b. The triadic partners are #a07a00 and #0092a8.

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

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

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

#af5ba8 is a neutral color. In OKLCH its hue is 330 degrees, its lightness 59.8% and its chroma 0.146.
