#AF236F#AF236F
#AF236F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.186 H 353.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF236F |
|---|---|
| RGB | rgb(175, 35, 111) |
| HSL | hsl(327, 67%, 41%) |
| HSV | hsv(327, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 36.6%, 31.4%) |
| CIE-LAB | lab(40.36, 60.08, -8.67) |
| CIE-LCH | lch(40.36, 60.71, 351.79°) |
| OKLab | oklab(51.04% 0.1846 -0.0222) |
| OKLCH | oklch(51.04% 0.186 353.1) |
| XYZ | xyz(21.1509, 11.4664, 16.1353) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.37
Deep Magenta
#A0025C
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.27
Mediumvioletred
#C71585
ΔE00 5.33
Dark Fuchsia
#9D0759
ΔE00 5.64
Violet Red
#A50055
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF236F #23AF63
analogous
#A923AF #AF236F #AF2329
triadic
#AF236F #6FAF23 #236FAF
tetradic
#AF236F #AFA923 #23AF63 #2329AF
square
#AF236F #AFA923 #23AF63 #2329AF
split-complementary
#AF236F #29AF23 #23AFA9
monochromatic
#490F2E #7C194F #AF236F #D7388E #E16BAB
Accessibility & contrast
On white
6.38
#AF236F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF236F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF236F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF236F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4F71
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#BD1146
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af236f; /* rgb */ color: rgb(175, 35, 111); /* oklch */ color: oklch(51.0% 0.186 353.1);
Tailwind
colors: {
custom: {
50: '#cc6e98',
500: '#af236f',
950: '#000000',
},
}SCSS
$custom: #af236f; $custom-light: #cc6e98; $custom-dark: #000000;
JSON
{
"hex": "#af236f",
"rgb": {
"r": 175,
"g": 35,
"b": 111
},
"hsl": {
"h": 327.429,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.51043,
"c": 0.18596,
"h": 353.1
},
"luminance": 0.11464
}Semantic roles & 50–950 ramp
primary
#AF236F
secondary
#66C793
accent
#EA8D3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E