#AF234D#AF234D
#AF234D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.175 H 9.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF234D |
|---|---|
| RGB | rgb(175, 35, 77) |
| HSL | hsl(342, 67%, 41%) |
| HSV | hsv(342, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 56%, 31.4%) |
| CIE-LAB | lab(39.33, 57.00, 11.35) |
| CIE-LCH | lch(39.33, 58.12, 11.27°) |
| OKLab | oklab(49.96% 0.1731 0.0287) |
| OKLCH | oklch(49.96% 0.176 9.4) |
| XYZ | xyz(19.6217, 10.8547, 8.0817) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.33
Raspberry (survey)
#B00149
ΔE00 2.38
Light Burgundy
#A8415B
ΔE00 4.98
Rouge
#AB1239
ΔE00 5.00
Cranberry
#9E003A
ΔE00 5.45
Ruby
#CA0147
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF234D #23AF85
analogous
#AF2393 #AF234D #AF3F23
triadic
#AF234D #4DAF23 #234DAF
tetradic
#AF234D #93AF23 #23AF85 #3F23AF
square
#AF234D #93AF23 #23AF85 #3F23AF
split-complementary
#AF234D #23AF3F #2393AF
monochromatic
#490F20 #7C1937 #AF234D #D73868 #E16B8F
Accessibility & contrast
On white
6.62
#AF234D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF234D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF234D
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF234D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF234D | 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)
#4A4B4E
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#BF0035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af234d; /* rgb */ color: rgb(175, 35, 77); /* oklch */ color: oklch(50.0% 0.175 9.4);
Tailwind
colors: {
custom: {
50: '#ce6d7e',
500: '#af234d',
950: '#000000',
},
}SCSS
$custom: #af234d; $custom-light: #ce6d7e; $custom-dark: #000000;
JSON
{
"hex": "#af234d",
"rgb": {
"r": 175,
"g": 35,
"b": 77
},
"hsl": {
"h": 342,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49962,
"c": 0.1755,
"h": 9.4
},
"luminance": 0.10852
}Semantic roles & 50–950 ramp
primary
#AF234D
secondary
#66C7AA
accent
#EAB63E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B