#E798D2#E798D2
#E798D2 is a light, moderate pink. Relative luminance 0.441; OKLCH L 77.6% C 0.120 H 337.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #E798D2 |
|---|---|
| RGB | rgb(231, 152, 210) |
| HSL | hsl(316, 62%, 75%) |
| HSV | hsv(316, 34%, 91%) |
| CMYK | cmyk(0%, 34.2%, 9.1%, 9.4%) |
| CIE-LAB | lab(72.30, 38.12, -17.48) |
| CIE-LCH | lch(72.30, 41.94, 335.36°) |
| OKLab | oklab(77.62% 0.11 -0.0467) |
| OKLCH | oklch(77.62% 0.12 337) |
| XYZ | xyz(55.8158, 44.1013, 66.5326) |
| Luminance | 0.4410 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum
#DDA0DD
ΔE00 3.93
Bubblegum Pink
#FE83CC
ΔE00 6.02
Lavender Pink
#DD85D7
ΔE00 6.09
Pink (survey)
#FF81C0
ΔE00 7.30
Lilac
#C8A2C8
ΔE00 7.72
Violet (CSS)
#EE82EE
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E798D2 #98E7AD
analogous
#D498E7 #E798D2 #E798AB
triadic
#E798D2 #D2E798 #98D2E7
tetradic
#E798D2 #E7D498 #98E7AD #98ABE7
square
#E798D2 #E7D498 #98E7AD #98ABE7
split-complementary
#E798D2 #ABE798 #98E7D4
monochromatic
#D035A7 #DB66BC #E798D2 #F3CAE8 #F9E6F4
Accessibility & contrast
On white
2.14
#E798D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#E798D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E798D2
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E798D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E798D2 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99AAD4
Deuteranopia (green-blind)
#ADB6D0
Tritanopia (blue-blind)
#EF9AAD
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #e798d2; /* rgb */ color: rgb(231, 152, 210); /* oklch */ color: oklch(77.6% 0.120 337.0);
Tailwind
colors: {
custom: {
50: '#f0b7df',
500: '#e798d2',
950: '#000000',
},
}SCSS
$custom: #e798d2; $custom-light: #f0b7df; $custom-dark: #000000;
JSON
{
"hex": "#e798d2",
"rgb": {
"r": 231,
"g": 152,
"b": 210
},
"hsl": {
"h": 315.949,
"s": 62.205,
"l": 75.098
},
"oklch": {
"l": 0.77623,
"c": 0.11952,
"h": 337
},
"luminance": 0.44099
}Semantic roles & 50–950 ramp
primary
#E798D2
secondary
#DAF1E0
accent
#CA4A1C
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083