#AF255B#AF255B
#AF255B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 2.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF255B |
|---|---|
| RGB | rgb(175, 37, 91) |
| HSL | hsl(337, 65%, 42%) |
| HSV | hsv(337, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 48%, 31.4%) |
| CIE-LAB | lab(39.91, 57.55, 3.27) |
| CIE-LCH | lch(39.91, 57.65, 3.25°) |
| OKLab | oklab(50.5% 0.1765 0.009) |
| OKLCH | oklch(50.5% 0.177 2.9) |
| XYZ | xyz(20.2308, 11.1952, 10.9911) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.95
Violet Red
#A50055
ΔE00 4.30
Raspberry (survey)
#B00149
ΔE00 4.43
Deep Pink
#CB0162
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 5.12
Berry
#990F4B
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF255B #25AF79
analogous
#AF25A0 #AF255B #AF3425
triadic
#AF255B #5BAF25 #255BAF
tetradic
#AF255B #A0AF25 #25AF79 #3425AF
square
#AF255B #A0AF25 #25AF79 #3425AF
split-complementary
#AF255B #25AF34 #25A0AF
monochromatic
#4A1026 #7C1A41 #AF255B #D63C78 #E06E9B
Accessibility & contrast
On white
6.48
#AF255B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF255B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF255B
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF255B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF255B | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af255b; /* rgb */ color: rgb(175, 37, 91); /* oklch */ color: oklch(50.5% 0.177 2.9);
Tailwind
colors: {
custom: {
50: '#cd6e89',
500: '#af255b',
950: '#000000',
},
}SCSS
$custom: #af255b; $custom-light: #cd6e89; $custom-dark: #000000;
JSON
{
"hex": "#af255b",
"rgb": {
"r": 175,
"g": 37,
"b": 91
},
"hsl": {
"h": 336.522,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50503,
"c": 0.17672,
"h": 2.9
},
"luminance": 0.11192
}Semantic roles & 50–950 ramp
primary
#AF255B
secondary
#69C7A2
accent
#E8A640
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C