#D1399F#D1399F
#D1399F is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.212 H 344.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D1399F |
|---|---|
| RGB | rgb(209, 57, 159) |
| HSL | hsl(320, 62%, 52%) |
| HSV | hsv(320, 73%, 82%) |
| CMYK | cmyk(0%, 72.7%, 23.9%, 18%) |
| CIE-LAB | lab(50.67, 67.61, -21.61) |
| CIE-LCH | lch(50.67, 70.98, 342.27°) |
| OKLab | oklab(60.29% 0.2042 -0.0576) |
| OKLCH | oklch(60.29% 0.212 344.2) |
| XYZ | xyz(34.0170, 18.9884, 34.6678) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.66
Mediumvioletred
#C71585
ΔE00 6.46
Purplish Pink
#CE5DAE
ΔE00 6.47
Pinky Purple
#C94CBE
ΔE00 6.51
Bright Pink
#FE01B1
ΔE00 7.24
Shocking Pink
#FE02A2
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1399F #39D16B
analogous
#B739D1 #D1399F #D13953
triadic
#D1399F #9FD139 #399FD1
tetradic
#D1399F #D1B739 #39D16B #3953D1
square
#D1399F #D1B739 #39D16B #3953D1
split-complementary
#D1399F #53D139 #39D1B7
monochromatic
#751B57 #A6277C #D1399F #DD6BB7 #E89CCF
Accessibility & contrast
On white
4.38
#D1399F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#D1399F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D1399F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1399F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1399F | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A68A2
Deuteranopia (green-blind)
#79829C
Tritanopia (blue-blind)
#DF3867
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #d1399f; /* rgb */ color: rgb(209, 57, 159); /* oklch */ color: oklch(60.3% 0.212 344.2);
Tailwind
colors: {
custom: {
50: '#e37dbb',
500: '#d1399f',
950: '#000000',
},
}SCSS
$custom: #d1399f; $custom-light: #e37dbb; $custom-dark: #000000;
JSON
{
"hex": "#d1399f",
"rgb": {
"r": 209,
"g": 57,
"b": 159
},
"hsl": {
"h": 319.737,
"s": 62.295,
"l": 52.157
},
"oklch": {
"l": 0.60287,
"c": 0.2122,
"h": 344.2
},
"luminance": 0.18985
}Semantic roles & 50–950 ramp
primary
#D1399F
secondary
#92D4A8
accent
#E57842
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81