#D162AF#D162AF
#D162AF is a light, vivid pink. Relative luminance 0.254; OKLCH L 65.5% C 0.166 H 340.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D162AF |
|---|---|
| RGB | rgb(209, 98, 175) |
| HSL | hsl(318, 55%, 60%) |
| HSV | hsv(318, 53%, 82%) |
| CMYK | cmyk(0%, 53.1%, 16.3%, 18%) |
| CIE-LAB | lab(57.45, 53.03, -20.58) |
| CIE-LCH | lch(57.45, 56.88, 338.79°) |
| OKLab | oklab(65.48% 0.1567 -0.0551) |
| OKLCH | oklch(65.48% 0.166 340.6) |
| XYZ | xyz(38.4007, 25.3888, 43.4272) |
| Luminance | 0.2539 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 1.41
Pale Magenta
#D767AD
ΔE00 2.21
Purpleish Pink
#DF4EC8
ΔE00 5.80
Orchid (survey)
#C875C4
ΔE00 5.86
Pinky Purple
#C94CBE
ΔE00 6.92
Orchid
#DA70D6
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162AF #62D184
analogous
#BB62D1 #D162AF #D16278
triadic
#D162AF #AFD162 #62AFD1
tetradic
#D162AF #D1BB62 #62D184 #6278D1
square
#D162AF #D1BB62 #62D184 #6278D1
split-complementary
#D162AF #78D162 #62D1BB
monochromatic
#8F2A70 #BE3895 #D162AF #DF91C7 #EDC1DF
Accessibility & contrast
On white
3.46
#D162AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#D162AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162AF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162AF | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687FB2
Deuteranopia (green-blind)
#8791AC
Tritanopia (blue-blind)
#DC6481
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #d162af; /* rgb */ color: rgb(209, 98, 175); /* oklch */ color: oklch(65.5% 0.166 340.6);
Tailwind
colors: {
custom: {
50: '#e293c7',
500: '#d162af',
950: '#000000',
},
}SCSS
$custom: #d162af; $custom-light: #e293c7; $custom-dark: #000000;
JSON
{
"hex": "#d162af",
"rgb": {
"r": 209,
"g": 98,
"b": 175
},
"hsl": {
"h": 318.378,
"s": 54.68,
"l": 60.196
},
"oklch": {
"l": 0.65477,
"c": 0.16612,
"h": 340.6
},
"luminance": 0.25386
}Semantic roles & 50–950 ramp
primary
#D162AF
secondary
#B2DDBF
accent
#C25423
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160D13
muted
#847E82