#D371C2#D371C2
#D371C2 is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.6% C 0.158 H 334.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D371C2 |
|---|---|
| RGB | rgb(211, 113, 194) |
| HSL | hsl(310, 53%, 64%) |
| HSV | hsv(310, 46%, 83%) |
| CMYK | cmyk(0%, 46.4%, 8.1%, 17.3%) |
| CIE-LAB | lab(61.27, 49.30, -25.57) |
| CIE-LCH | lch(61.27, 55.54, 332.59°) |
| OKLab | oklab(68.62% 0.1417 -0.0692) |
| OKLCH | oklch(68.62% 0.158 334) |
| XYZ | xyz(42.5066, 29.5568, 54.4946) |
| Luminance | 0.2955 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.36
Orchid
#DA70D6
ΔE00 3.64
Pale Magenta
#D767AD
ΔE00 4.67
Purplish Pink
#CE5DAE
ΔE00 5.30
Lavender Pink
#DD85D7
ΔE00 5.38
Purpleish Pink
#DF4EC8
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D371C2 #71D382
analogous
#B371D3 #D371C2 #D37191
triadic
#D371C2 #C2D371 #71C2D3
tetradic
#D371C2 #D3B371 #71D382 #7191D3
square
#D371C2 #D3B371 #71D382 #7191D3
split-complementary
#D371C2 #91D371 #71D3B3
monochromatic
#9A3087 #C542AE #D371C2 #E1A0D6 #F0CEEA
Accessibility & contrast
On white
3.04
#D371C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#D371C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D371C2
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D371C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D371C2 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#8B99BF
Tritanopia (blue-blind)
#DB7691
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d371c2; /* rgb */ color: rgb(211, 113, 194); /* oklch */ color: oklch(68.6% 0.158 334.0);
Tailwind
colors: {
custom: {
50: '#e29dd4',
500: '#d371c2',
950: '#000000',
},
}SCSS
$custom: #d371c2; $custom-light: #e29dd4; $custom-dark: #000000;
JSON
{
"hex": "#d371c2",
"rgb": {
"r": 211,
"g": 113,
"b": 194
},
"hsl": {
"h": 310.408,
"s": 52.688,
"l": 63.529
},
"oklch": {
"l": 0.68615,
"c": 0.1577,
"h": 334
},
"luminance": 0.29554
}Semantic roles & 50–950 ramp
primary
#D371C2
secondary
#BFE1C5
accent
#C04025
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83