#AF236E#AF236E
#AF236E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.186 H 353.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF236E |
|---|---|
| RGB | rgb(175, 35, 110) |
| HSL | hsl(328, 67%, 41%) |
| HSV | hsv(328, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 37.1%, 31.4%) |
| CIE-LAB | lab(40.32, 59.98, -8.10) |
| CIE-LCH | lch(40.32, 60.52, 352.31°) |
| OKLab | oklab(51.01% 0.1844 -0.0207) |
| OKLCH | oklch(51.01% 0.186 353.6) |
| XYZ | xyz(21.0961, 11.4445, 15.8469) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.45
Deep Magenta
#A0025C
ΔE00 5.01
Red Violet
#9E0168
ΔE00 5.34
Mediumvioletred
#C71585
ΔE00 5.47
Dark Fuchsia
#9D0759
ΔE00 5.53
Violet Red
#A50055
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF236E #23AF64
analogous
#AA23AF #AF236E #AF2328
triadic
#AF236E #6EAF23 #236EAF
tetradic
#AF236E #AFAA23 #23AF64 #2328AF
square
#AF236E #AFAA23 #23AF64 #2328AF
split-complementary
#AF236E #28AF23 #23AFAA
monochromatic
#490F2E #7C194E #AF236E #D7388D #E16BAA
Accessibility & contrast
On white
6.39
#AF236E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF236E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF236E
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF236E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF236E | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#BD1046
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af236e; /* rgb */ color: rgb(175, 35, 110); /* oklch */ color: oklch(51.0% 0.186 353.6);
Tailwind
colors: {
custom: {
50: '#cc6e97',
500: '#af236e',
950: '#000000',
},
}SCSS
$custom: #af236e; $custom-light: #cc6e97; $custom-dark: #000000;
JSON
{
"hex": "#af236e",
"rgb": {
"r": 175,
"g": 35,
"b": 110
},
"hsl": {
"h": 327.857,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.51005,
"c": 0.18551,
"h": 353.6
},
"luminance": 0.11442
}Semantic roles & 50–950 ramp
primary
#AF236E
secondary
#66C793
accent
#EA8E3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E