#AF234E#AF234E
#AF234E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.176 H 8.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF234E |
|---|---|
| RGB | rgb(175, 35, 78) |
| HSL | hsl(342, 67%, 41%) |
| HSV | hsv(342, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 55.4%, 31.4%) |
| CIE-LAB | lab(39.36, 57.07, 10.75) |
| CIE-LCH | lch(39.36, 58.08, 10.67°) |
| OKLab | oklab(49.99% 0.1735 0.0273) |
| OKLCH | oklch(49.99% 0.176 8.9) |
| XYZ | xyz(19.6573, 10.8689, 8.2691) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.23
Raspberry (survey)
#B00149
ΔE00 2.34
Light Burgundy
#A8415B
ΔE00 4.90
Rouge
#AB1239
ΔE00 5.28
Cranberry
#9E003A
ΔE00 5.56
Ruby
#CA0147
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF234E #23AF84
analogous
#AF2394 #AF234E #AF3E23
triadic
#AF234E #4EAF23 #234EAF
tetradic
#AF234E #94AF23 #23AF84 #3E23AF
square
#AF234E #94AF23 #23AF84 #3E23AF
split-complementary
#AF234E #23AF3E #2394AF
monochromatic
#490F21 #7C1937 #AF234E #D73869 #E16B8F
Accessibility & contrast
On white
6.62
#AF234E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF234E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF234E
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF234E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF234E | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494B4F
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af234e; /* rgb */ color: rgb(175, 35, 78); /* oklch */ color: oklch(50.0% 0.176 8.9);
Tailwind
colors: {
custom: {
50: '#ce6d7f',
500: '#af234e',
950: '#000000',
},
}SCSS
$custom: #af234e; $custom-light: #ce6d7f; $custom-dark: #000000;
JSON
{
"hex": "#af234e",
"rgb": {
"r": 175,
"g": 35,
"b": 78
},
"hsl": {
"h": 341.571,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49987,
"c": 0.17565,
"h": 8.9
},
"luminance": 0.10866
}Semantic roles & 50–950 ramp
primary
#AF234E
secondary
#66C7AA
accent
#EAB53E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C