#AF234F#AF234F
#AF234F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.176 H 8.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF234F |
|---|---|
| RGB | rgb(175, 35, 79) |
| HSL | hsl(341, 67%, 41%) |
| HSV | hsv(341, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 54.9%, 31.4%) |
| CIE-LAB | lab(39.38, 57.15, 10.15) |
| CIE-LCH | lch(39.38, 58.04, 10.07°) |
| OKLab | oklab(50.01% 0.1739 0.0259) |
| OKLCH | oklch(50.01% 0.176 8.5) |
| XYZ | xyz(19.6934, 10.8834, 8.4593) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.17
Raspberry (survey)
#B00149
ΔE00 2.35
Light Burgundy
#A8415B
ΔE00 4.84
Rouge
#AB1239
ΔE00 5.56
Cranberry
#9E003A
ΔE00 5.69
Ruby
#CA0147
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF234F #23AF83
analogous
#AF2395 #AF234F #AF3D23
triadic
#AF234F #4FAF23 #234FAF
tetradic
#AF234F #95AF23 #23AF83 #3D23AF
square
#AF234F #95AF23 #23AF83 #3D23AF
split-complementary
#AF234F #23AF3D #2395AF
monochromatic
#490F21 #7C1938 #AF234F #D7386A #E16B90
Accessibility & contrast
On white
6.61
#AF234F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF234F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF234F
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF234F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF234F | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494B50
Deuteranopia (green-blind)
#6D674C
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af234f; /* rgb */ color: rgb(175, 35, 79); /* oklch */ color: oklch(50.0% 0.176 8.5);
Tailwind
colors: {
custom: {
50: '#cd6d80',
500: '#af234f',
950: '#000000',
},
}SCSS
$custom: #af234f; $custom-light: #cd6d80; $custom-dark: #000000;
JSON
{
"hex": "#af234f",
"rgb": {
"r": 175,
"g": 35,
"b": 79
},
"hsl": {
"h": 341.143,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50013,
"c": 0.17582,
"h": 8.5
},
"luminance": 0.10881
}Semantic roles & 50–950 ramp
primary
#AF234F
secondary
#66C7A9
accent
#EAB43E
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C