#D7338C#D7338C
#D7338C is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.0% C 0.213 H 352.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D7338C |
|---|---|
| RGB | rgb(215, 51, 140) |
| HSL | hsl(327, 67%, 52%) |
| HSV | hsv(327, 76%, 84%) |
| CMYK | cmyk(0%, 76.3%, 34.9%, 15.7%) |
| CIE-LAB | lab(50.35, 68.75, -10.68) |
| CIE-LCH | lch(50.35, 69.58, 351.17°) |
| OKLab | oklab(60.01% 0.211 -0.0275) |
| OKLCH | oklch(60.01% 0.213 352.6) |
| XYZ | xyz(33.9439, 18.7123, 26.6302) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.76
Darkish Pink
#DA467D
ΔE00 5.98
Neon Pink
#FE019A
ΔE00 6.42
Shocking Pink
#FE02A2
ΔE00 6.74
Electric Pink
#FF0490
ΔE00 6.79
Deeppink
#FF1493
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7338C #33D77E
analogous
#D033D7 #D7338C #D7333A
triadic
#D7338C #8CD733 #338CD7
tetradic
#D7338C #D7D033 #33D77E #333AD7
square
#D7338C #D7D033 #33D77E #333AD7
split-complementary
#D7338C #3AD733 #33D7D0
monochromatic
#78184C #AB226C #D7338C #E166A9 #EB99C6
Accessibility & contrast
On white
4.43
#D7338C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#D7338C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D7338C
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7338C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7338C | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52658E
Deuteranopia (green-blind)
#818288
Tritanopia (blue-blind)
#E8225B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #d7338c; /* rgb */ color: rgb(215, 51, 140); /* oklch */ color: oklch(60.0% 0.213 352.6);
Tailwind
colors: {
custom: {
50: '#e97bad',
500: '#d7338c',
950: '#000000',
},
}SCSS
$custom: #d7338c; $custom-light: #e97bad; $custom-dark: #000000;
JSON
{
"hex": "#d7338c",
"rgb": {
"r": 215,
"g": 51,
"b": 140
},
"hsl": {
"h": 327.439,
"s": 67.213,
"l": 52.157
},
"oklch": {
"l": 0.6001,
"c": 0.21274,
"h": 352.6
},
"luminance": 0.18708
}Semantic roles & 50–950 ramp
primary
#D7338C
secondary
#8FD7B0
accent
#EA8D3E
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170A10
muted
#857C7F