#D336AF#D336AF
#D336AF is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.1% C 0.226 H 339.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #D336AF |
|---|---|
| RGB | rgb(211, 54, 175) |
| HSL | hsl(314, 64%, 52%) |
| HSV | hsv(314, 74%, 83%) |
| CMYK | cmyk(0%, 74.4%, 17.1%, 17.3%) |
| CIE-LAB | lab(51.37, 71.13, -29.94) |
| CIE-LCH | lch(51.37, 77.18, 337.17°) |
| OKLab | oklab(61.08% 0.2114 -0.0811) |
| OKLCH | oklch(61.08% 0.226 339) |
| XYZ | xyz(35.9219, 19.5859, 42.4377) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.05
Pinky Purple
#C94CBE
ΔE00 4.13
Hot Magenta
#F504C9
ΔE00 5.88
Purpleish Pink
#DF4EC8
ΔE00 6.10
Purplish Pink
#CE5DAE
ΔE00 6.46
Fuchsia (survey)
#ED0DD9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D336AF #36D35A
analogous
#A936D3 #D336AF #D33661
triadic
#D336AF #AFD336 #36AFD3
tetradic
#D336AF #D3A936 #36D35A #3661D3
square
#D336AF #D3A936 #36D35A #3661D3
split-complementary
#D336AF #61D336 #36D3A9
monochromatic
#751A60 #A72589 #D336AF #DE68C3 #E99AD7
Accessibility & contrast
On white
4.27
#D336AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#D336AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D336AF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D336AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D336AF | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#7483AB
Tritanopia (blue-blind)
#DF3D6F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #d336af; /* rgb */ color: rgb(211, 54, 175); /* oklch */ color: oklch(61.1% 0.226 339.0);
Tailwind
colors: {
custom: {
50: '#e57cc7',
500: '#d336af',
950: '#000000',
},
}SCSS
$custom: #d336af; $custom-light: #e57cc7; $custom-dark: #000000;
JSON
{
"hex": "#d336af",
"rgb": {
"r": 211,
"g": 54,
"b": 175
},
"hsl": {
"h": 313.758,
"s": 64.082,
"l": 51.961
},
"oklch": {
"l": 0.61076,
"c": 0.22643,
"h": 339
},
"luminance": 0.19582
}Semantic roles & 50–950 ramp
primary
#D336AF
secondary
#90D5A0
accent
#E76741
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82