#AF235B#AF235B
#AF235B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 2.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF235B |
|---|---|
| RGB | rgb(175, 35, 91) |
| HSL | hsl(336, 67%, 41%) |
| HSV | hsv(336, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 48%, 31.4%) |
| CIE-LAB | lab(39.70, 58.13, 2.98) |
| CIE-LCH | lch(39.70, 58.21, 2.93°) |
| OKLab | oklab(50.36% 0.1783 0.0082) |
| OKLCH | oklch(50.36% 0.179 2.6) |
| XYZ | xyz(20.1703, 11.0741, 10.9709) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.94
Violet Red
#A50055
ΔE00 4.05
Raspberry (survey)
#B00149
ΔE00 4.42
Deep Pink
#CB0162
ΔE00 4.88
Light Burgundy
#A8415B
ΔE00 5.39
Berry
#990F4B
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF235B #23AF77
analogous
#AF23A1 #AF235B #AF3123
triadic
#AF235B #5BAF23 #235BAF
tetradic
#AF235B #A1AF23 #23AF77 #3123AF
square
#AF235B #A1AF23 #23AF77 #3123AF
split-complementary
#AF235B #23AF31 #23A1AF
monochromatic
#490F26 #7C1940 #AF235B #D73878 #E16B9A
Accessibility & contrast
On white
6.53
#AF235B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF235B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF235B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF235B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF235B | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af235b; /* rgb */ color: rgb(175, 35, 91); /* oklch */ color: oklch(50.4% 0.179 2.6);
Tailwind
colors: {
custom: {
50: '#cd6d89',
500: '#af235b',
950: '#000000',
},
}SCSS
$custom: #af235b; $custom-light: #cd6d89; $custom-dark: #000000;
JSON
{
"hex": "#af235b",
"rgb": {
"r": 175,
"g": 35,
"b": 91
},
"hsl": {
"h": 336,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50355,
"c": 0.17853,
"h": 2.6
},
"luminance": 0.11071
}Semantic roles & 50–950 ramp
primary
#AF235B
secondary
#66C7A1
accent
#EAA53E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C