#AF234A#AF234A
#AF234A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.175 H 10.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF234A |
|---|---|
| RGB | rgb(175, 35, 74) |
| HSL | hsl(343, 67%, 41%) |
| HSV | hsv(343, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 57.7%, 31.4%) |
| CIE-LAB | lab(39.26, 56.78, 13.17) |
| CIE-LCH | lch(39.26, 58.29, 13.05°) |
| OKLab | oklab(49.89% 0.172 0.0329) |
| OKLCH | oklch(49.89% 0.175 10.8) |
| XYZ | xyz(19.5182, 10.8133, 7.5367) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.71
Purplish Red
#B0054B
ΔE00 2.82
Rouge
#AB1239
ΔE00 4.17
Rose Red
#BE013C
ΔE00 4.89
Ruby
#CA0147
ΔE00 5.16
Cranberry
#9E003A
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF234A #23AF88
analogous
#AF2390 #AF234A #AF4223
triadic
#AF234A #4AAF23 #234AAF
tetradic
#AF234A #90AF23 #23AF88 #4223AF
square
#AF234A #90AF23 #23AF88 #4223AF
split-complementary
#AF234A #23AF42 #2390AF
monochromatic
#490F1F #7C1934 #AF234A #D73864 #E16B8C
Accessibility & contrast
On white
6.64
#AF234A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF234A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF234A
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF234A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF234A | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6E6746
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af234a; /* rgb */ color: rgb(175, 35, 74); /* oklch */ color: oklch(49.9% 0.175 10.8);
Tailwind
colors: {
custom: {
50: '#ce6d7c',
500: '#af234a',
950: '#000000',
},
}SCSS
$custom: #af234a; $custom-light: #ce6d7c; $custom-dark: #000000;
JSON
{
"hex": "#af234a",
"rgb": {
"r": 175,
"g": 35,
"b": 74
},
"hsl": {
"h": 343.286,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49887,
"c": 0.1751,
"h": 10.8
},
"luminance": 0.1081
}Semantic roles & 50–950 ramp
primary
#AF234A
secondary
#66C7AC
accent
#EABA3E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B