#AF235C#AF235C
#AF235C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 2.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF235C |
|---|---|
| RGB | rgb(175, 35, 92) |
| HSL | hsl(336, 67%, 41%) |
| HSV | hsv(336, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 47.4%, 31.4%) |
| CIE-LAB | lab(39.73, 58.22, 2.39) |
| CIE-LCH | lch(39.73, 58.27, 2.35°) |
| OKLab | oklab(50.39% 0.1787 0.0067) |
| OKLCH | oklch(50.39% 0.179 2.2) |
| XYZ | xyz(20.2137, 11.0915, 11.1996) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.99
Purplish Red
#B0054B
ΔE00 4.18
Raspberry (survey)
#B00149
ΔE00 4.67
Deep Pink
#CB0162
ΔE00 4.90
Light Burgundy
#A8415B
ΔE00 5.53
Berry
#990F4B
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF235C #23AF76
analogous
#AF23A2 #AF235C #AF3023
triadic
#AF235C #5CAF23 #235CAF
tetradic
#AF235C #A2AF23 #23AF76 #3023AF
square
#AF235C #A2AF23 #23AF76 #3023AF
split-complementary
#AF235C #23AF30 #23A2AF
monochromatic
#490F26 #7C1941 #AF235C #D73879 #E16B9B
Accessibility & contrast
On white
6.53
#AF235C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF235C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF235C
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF235C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF235C | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af235c; /* rgb */ color: rgb(175, 35, 92); /* oklch */ color: oklch(50.4% 0.179 2.2);
Tailwind
colors: {
custom: {
50: '#cd6d89',
500: '#af235c',
950: '#000000',
},
}SCSS
$custom: #af235c; $custom-light: #cd6d89; $custom-dark: #000000;
JSON
{
"hex": "#af235c",
"rgb": {
"r": 175,
"g": 35,
"b": 92
},
"hsl": {
"h": 335.571,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50386,
"c": 0.17882,
"h": 2.2
},
"luminance": 0.11089
}Semantic roles & 50–950 ramp
primary
#AF235C
secondary
#66C7A0
accent
#EAA43E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C