#D342AF#D342AF
#D342AF is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.1% C 0.213 H 339.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D342AF |
|---|---|
| RGB | rgb(211, 66, 175) |
| HSL | hsl(315, 62%, 54%) |
| HSV | hsv(315, 69%, 83%) |
| CMYK | cmyk(0%, 68.7%, 17.1%, 17.3%) |
| CIE-LAB | lab(52.78, 67.14, -27.75) |
| CIE-LCH | lch(52.78, 72.65, 337.54°) |
| OKLab | oklab(62.1% 0.1994 -0.0749) |
| OKLCH | oklch(62.1% 0.213 339.4) |
| XYZ | xyz(36.5509, 20.8439, 42.6474) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.70
Purpley Pink
#C83CB9
ΔE00 3.90
Purplish Pink
#CE5DAE
ΔE00 4.75
Purpleish Pink
#DF4EC8
ΔE00 5.00
Hot Magenta
#F504C9
ΔE00 5.82
Bright Pink
#FE01B1
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D342AF #42D366
analogous
#AF42D3 #D342AF #D34266
triadic
#D342AF #AFD342 #42AFD3
tetradic
#D342AF #D3AF42 #42D366 #4266D3
square
#D342AF #D3AF42 #42D366 #4266D3
split-complementary
#D342AF #66D342 #42D3AF
monochromatic
#7D1D66 #AF298E #D342AF #DF74C4 #EAA5D9
Accessibility & contrast
On white
4.06
#D342AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#D342AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D342AF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D342AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D342AF | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#DF4773
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #d342af; /* rgb */ color: rgb(211, 66, 175); /* oklch */ color: oklch(62.1% 0.213 339.4);
Tailwind
colors: {
custom: {
50: '#e482c7',
500: '#d342af',
950: '#000000',
},
}SCSS
$custom: #d342af; $custom-light: #e482c7; $custom-dark: #000000;
JSON
{
"hex": "#d342af",
"rgb": {
"r": 211,
"g": 66,
"b": 175
},
"hsl": {
"h": 314.897,
"s": 62.232,
"l": 54.314
},
"oklch": {
"l": 0.621,
"c": 0.21299,
"h": 339.4
},
"luminance": 0.2084
}Semantic roles & 50–950 ramp
primary
#D342AF
secondary
#9AD7A9
accent
#E56B42
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82