#AF2B5B#AF2B5B
#AF2B5B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.171 H 3.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B5B |
|---|---|
| RGB | rgb(175, 43, 91) |
| HSL | hsl(338, 61%, 43%) |
| HSV | hsv(338, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 48%, 31.4%) |
| CIE-LAB | lab(40.57, 55.68, 4.23) |
| CIE-LCH | lch(40.57, 55.84, 4.34°) |
| OKLab | oklab(50.99% 0.1705 0.0114) |
| OKLCH | oklch(50.99% 0.171 3.8) |
| XYZ | xyz(20.4331, 11.5998, 11.0585) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.14
Light Burgundy
#A8415B
ΔE00 4.24
Raspberry (survey)
#B00149
ΔE00 4.58
Deep Pink
#CB0162
ΔE00 4.85
Violet Red
#A50055
ΔE00 5.15
Berry
#990F4B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B5B #2BAF7F
analogous
#AF2B9D #AF2B5B #AF3D2B
triadic
#AF2B5B #5BAF2B #2B5BAF
tetradic
#AF2B5B #9DAF2B #2BAF7F #3D2BAF
square
#AF2B5B #9DAF2B #2BAF7F #3D2BAF
split-complementary
#AF2B5B #2BAF3D #2B9DAF
monochromatic
#4D1328 #7E1F41 #AF2B5B #D14679 #DE779C
Accessibility & contrast
On white
6.33
#AF2B5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2B5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B5B
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B5B | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#6D6958
Tritanopia (blue-blind)
#BE0E40
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2b5b; /* rgb */ color: rgb(175, 43, 91); /* oklch */ color: oklch(51.0% 0.171 3.8);
Tailwind
colors: {
custom: {
50: '#cd7089',
500: '#af2b5b',
950: '#000000',
},
}SCSS
$custom: #af2b5b; $custom-light: #cd7089; $custom-dark: #000000;
JSON
{
"hex": "#af2b5b",
"rgb": {
"r": 175,
"g": 43,
"b": 91
},
"hsl": {
"h": 338.182,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50993,
"c": 0.17083,
"h": 3.8
},
"luminance": 0.11597
}Semantic roles & 50–950 ramp
primary
#AF2B5B
secondary
#70C5A6
accent
#E4AA44
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C