#AF236D#AF236D
#AF236D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.185 H 354.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF236D |
|---|---|
| RGB | rgb(175, 35, 109) |
| HSL | hsl(328, 67%, 41%) |
| HSV | hsv(328, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 37.7%, 31.4%) |
| CIE-LAB | lab(40.28, 59.87, -7.53) |
| CIE-LCH | lch(40.28, 60.34, 352.83°) |
| OKLab | oklab(50.97% 0.1841 -0.0191) |
| OKLCH | oklch(50.97% 0.185 354.1) |
| XYZ | xyz(21.0420, 11.4228, 15.5618) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.55
Deep Magenta
#A0025C
ΔE00 4.93
Red Violet
#9E0168
ΔE00 5.41
Dark Fuchsia
#9D0759
ΔE00 5.43
Violet Red
#A50055
ΔE00 5.49
Mediumvioletred
#C71585
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF236D #23AF65
analogous
#AB23AF #AF236D #AF2327
triadic
#AF236D #6DAF23 #236DAF
tetradic
#AF236D #AFAB23 #23AF65 #2327AF
square
#AF236D #AFAB23 #23AF65 #2327AF
split-complementary
#AF236D #27AF23 #23AFAB
monochromatic
#490F2D #7C194D #AF236D #D7388C #E16BAA
Accessibility & contrast
On white
6.39
#AF236D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF236D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF236D
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF236D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF236D | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#BD0F45
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af236d; /* rgb */ color: rgb(175, 35, 109); /* oklch */ color: oklch(51.0% 0.185 354.1);
Tailwind
colors: {
custom: {
50: '#cc6e96',
500: '#af236d',
950: '#000000',
},
}SCSS
$custom: #af236d; $custom-light: #cc6e96; $custom-dark: #000000;
JSON
{
"hex": "#af236d",
"rgb": {
"r": 175,
"g": 35,
"b": 109
},
"hsl": {
"h": 328.286,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50967,
"c": 0.18506,
"h": 354.1
},
"luminance": 0.1142
}Semantic roles & 50–950 ramp
primary
#AF236D
secondary
#66C794
accent
#EA8F3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E