#AF235D#AF235D
#AF235D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 1.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF235D |
|---|---|
| RGB | rgb(175, 35, 93) |
| HSL | hsl(335, 67%, 41%) |
| HSV | hsv(335, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 46.9%, 31.4%) |
| CIE-LAB | lab(39.76, 58.31, 1.79) |
| CIE-LCH | lch(39.76, 58.33, 1.76°) |
| OKLab | oklab(50.42% 0.179 0.0052) |
| OKLCH | oklch(50.42% 0.179 1.7) |
| XYZ | xyz(20.2577, 11.1091, 11.4313) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.94
Purplish Red
#B0054B
ΔE00 4.42
Raspberry (survey)
#B00149
ΔE00 4.91
Deep Pink
#CB0162
ΔE00 4.92
Deep Magenta
#A0025C
ΔE00 5.52
Dark Fuchsia
#9D0759
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF235D #23AF75
analogous
#AF23A3 #AF235D #AF2F23
triadic
#AF235D #5DAF23 #235DAF
tetradic
#AF235D #A3AF23 #23AF75 #2F23AF
square
#AF235D #A3AF23 #23AF75 #2F23AF
split-complementary
#AF235D #23AF2F #23A3AF
monochromatic
#490F27 #7C1942 #AF235D #D7387A #E16B9C
Accessibility & contrast
On white
6.52
#AF235D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF235D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF235D
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF235D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF235D | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5E
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af235d; /* rgb */ color: rgb(175, 35, 93); /* oklch */ color: oklch(50.4% 0.179 1.7);
Tailwind
colors: {
custom: {
50: '#cd6d8a',
500: '#af235d',
950: '#000000',
},
}SCSS
$custom: #af235d; $custom-light: #cd6d8a; $custom-dark: #000000;
JSON
{
"hex": "#af235d",
"rgb": {
"r": 175,
"g": 35,
"b": 93
},
"hsl": {
"h": 335.143,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50417,
"c": 0.17912,
"h": 1.7
},
"luminance": 0.11106
}Semantic roles & 50–950 ramp
primary
#AF235D
secondary
#66C79F
accent
#EAA33E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C