#AF336D#AF336D
#AF336D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.168 H 355.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF336D |
|---|---|
| RGB | rgb(175, 51, 109) |
| HSL | hsl(332, 55%, 44%) |
| HSV | hsv(332, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 37.7%, 31.4%) |
| CIE-LAB | lab(42.14, 54.65, -4.77) |
| CIE-LCH | lch(42.14, 54.86, 355.02°) |
| OKLab | oklab(52.32% 0.1675 -0.0119) |
| OKLCH | oklch(52.32% 0.168 355.9) |
| XYZ | xyz(21.6247, 12.5883, 15.7560) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.70
Mediumvioletred
#C71585
ΔE00 6.15
Deep Pink
#CB0162
ΔE00 6.22
Violet Red
#A50055
ΔE00 6.62
Deep Magenta
#A0025C
ΔE00 6.71
Light Burgundy
#A8415B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF336D #33AF75
analogous
#AF33AB #AF336D #AF3733
triadic
#AF336D #6DAF33 #336DAF
tetradic
#AF336D #ABAF33 #33AF75 #3733AF
square
#AF336D #ABAF33 #33AF75 #3733AF
split-complementary
#AF336D #33AF37 #33ABAF
monochromatic
#501732 #80254F #AF336D #CD528C #DB82AB
Accessibility & contrast
On white
5.97
#AF336D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#AF336D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF336D
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF336D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF336D | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A556F
Deuteranopia (green-blind)
#6C6C6A
Tritanopia (blue-blind)
#BD264C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af336d; /* rgb */ color: rgb(175, 51, 109); /* oklch */ color: oklch(52.3% 0.168 355.9);
Tailwind
colors: {
custom: {
50: '#cb7496',
500: '#af336d',
950: '#000000',
},
}SCSS
$custom: #af336d; $custom-light: #cb7496; $custom-dark: #000000;
JSON
{
"hex": "#af336d",
"rgb": {
"r": 175,
"g": 51,
"b": 109
},
"hsl": {
"h": 331.935,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.52324,
"c": 0.16792,
"h": 355.9
},
"luminance": 0.12586
}Semantic roles & 50–950 ramp
primary
#AF336D
secondary
#7AC4A1
accent
#DE994A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E