#D340AF#D340AF
#D340AF is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.9% C 0.215 H 339.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D340AF |
|---|---|
| RGB | rgb(211, 64, 175) |
| HSL | hsl(315, 63%, 54%) |
| HSV | hsv(315, 70%, 83%) |
| CMYK | cmyk(0%, 69.7%, 17.1%, 17.3%) |
| CIE-LAB | lab(52.52, 67.85, -28.14) |
| CIE-LCH | lch(52.52, 73.46, 337.47°) |
| OKLab | oklab(61.92% 0.2015 -0.0761) |
| OKLCH | oklch(61.92% 0.215 339.3) |
| XYZ | xyz(36.4361, 20.6143, 42.6091) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.70
Pinky Purple
#C94CBE
ΔE00 3.72
Purplish Pink
#CE5DAE
ΔE00 5.06
Purpleish Pink
#DF4EC8
ΔE00 5.17
Hot Magenta
#F504C9
ΔE00 5.79
Bright Pink
#FE01B1
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D340AF #40D364
analogous
#AE40D3 #D340AF #D34066
triadic
#D340AF #AFD340 #40AFD3
tetradic
#D340AF #D3AE40 #40D364 #4066D3
square
#D340AF #D3AE40 #40D364 #4066D3
split-complementary
#D340AF #66D340 #40D3AE
monochromatic
#7C1D65 #AE288D #D340AF #DE72C4 #EAA3D9
Accessibility & contrast
On white
4.10
#D340AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#D340AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D340AF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D340AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D340AF | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#7786AB
Tritanopia (blue-blind)
#DF4572
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d340af; /* rgb */ color: rgb(211, 64, 175); /* oklch */ color: oklch(61.9% 0.215 339.3);
Tailwind
colors: {
custom: {
50: '#e481c7',
500: '#d340af',
950: '#000000',
},
}SCSS
$custom: #d340af; $custom-light: #e481c7; $custom-dark: #000000;
JSON
{
"hex": "#d340af",
"rgb": {
"r": 211,
"g": 64,
"b": 175
},
"hsl": {
"h": 314.694,
"s": 62.553,
"l": 53.922
},
"oklch": {
"l": 0.61916,
"c": 0.21539,
"h": 339.3
},
"luminance": 0.20611
}Semantic roles & 50–950 ramp
primary
#D340AF
secondary
#98D7A7
accent
#E66A42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82