# #ab5ba2 color: Royalty Loyalty

#ab5ba2 is rgb(171, 91, 162) in RGB and oklch(58.979% 0.13822 331.456) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab5ba2 |
| RGB | rgb(171, 91, 162) |
| HSL | hsl(306.75, 32.26%, 51.37%) |
| HSB / HSV | hsv(306.75 46.78% 67.06%) |
| HWB | hwb(306.75 35.69% 32.94%) |
| CMYK | cmyk(0% 47% 5% 33%) |
| Lab | lab(50.39 40.75 -24) |
| LCH | lch(50.39 47.29 329.51) |
| OKLab | oklab(58.979% 0.12142 -0.06605) |
| OKLCH | oklch(58.979% 0.13822 331.456) |
| Display P3 | color(display-p3 0.62905 0.3729 0.62092) |
| Rec. 2020 | color(rec2020 0.54552 0.33725 0.57675) |
| Adobe RGB | color(a98-rgb 0.59652 0.35827 0.62102) |
| ProPhoto RGB | color(prophoto-rgb 0.51311 0.33759 0.54185) |
| Linear sRGB | color(srgb-linear 0.40724 0.10462 0.36131) |
| XYZ D65 | color(xyz-d65 0.27056 0.1875 0.36378) |
| XYZ D50 | color(xyz-d50 0.26957 0.18751 0.27384) |
| SwiftUI | Color(red: 0.671, green: 0.357, blue: 0.635) |
| UIKit | UIColor(red: 0.671, green: 0.357, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFFAB5BA2) |
| Android XML | #AB5BA2 |

## 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.42:1
- Contrast with black: 4.75:1

## Tints

#ab5ba2, #b46bab, #bd7cb5, #c68cbe, #cf9cc7, #d7acd0, #dfbdda, #e7cde3, #efdeec, #f7eef6

## Shades

#ab5ba2, #944e8c, #7e4177, #683563, #54294f, #401e3c, #2d132a, #1b0919, #0b030a, #010001

## Tones

#ab5ba2, #a75f9e, #a3639b, #9f6797, #9a6b94, #966e90, #91718c, #8c7489, #877785, #827a81

## Harmonies

- Complementary: #ab5ba2, #2a9451
- Split: #ab5ba2, #71890d, #009582
- Analogous: #ab5ba2, #8c67c1, #bd5578
- Triadic: #ab5ba2, #9b7800, #008fa7
- Tetradic: #ab5ba2, #c15947, #2a9451, #008fa7
- Square: #ab5ba2, #b66600, #2a9451, #0185c7
- Monochromatic: #ab5ba2, #60125a, #85387d, #d27fc8, #fba5f0

## Questions about #ab5ba2

### What color is #ab5ba2?

#ab5ba2 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(171, 91, 162), in HSL hsl(306.75, 32.26%, 51.37%) and in OKLCH oklch(58.979% 0.13822 331.456).

### What colors go well with #ab5ba2?

The complementary color of #ab5ba2 is #2a9451. For a calmer combination use the analogous colors #8c67c1 and #bd5578. The triadic partners are #9b7800 and #008fa7.

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

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

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

#ab5ba2 is a neutral color. In OKLCH its hue is 331 degrees, its lightness 59% and its chroma 0.138.
