#E797AB#E797AB
#E797AB is a light, moderate red. Relative luminance 0.421; OKLCH L 76.2% C 0.099 H 3.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E797AB |
|---|---|
| RGB | rgb(231, 151, 171) |
| HSL | hsl(345, 63%, 75%) |
| HSV | hsv(345, 35%, 91%) |
| CMYK | cmyk(0%, 34.6%, 26%, 9.4%) |
| CIE-LAB | lab(70.92, 32.65, 2.07) |
| CIE-LCH | lch(70.92, 32.72, 3.62°) |
| OKLab | oklab(76.19% 0.0987 0.0059) |
| OKLCH | oklch(76.19% 0.099 3.4) |
| XYZ | xyz(51.3735, 42.0657, 43.9338) |
| Luminance | 0.4206 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pig Pink
#E78EA5
ΔE00 2.26
Faded Pink
#DE9DAC
ΔE00 2.80
Dull Pink
#D5869D
ΔE00 5.05
Dusty Pink (survey)
#D58A94
ΔE00 5.47
Pinky
#FC86AA
ΔE00 5.73
Rose Pink
#F7879A
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E797AB #97E7D3
analogous
#E797D3 #E797AB #E7AB97
triadic
#E797AB #ABE797 #97ABE7
tetradic
#E797AB #D3E797 #97E7D3 #AB97E7
square
#E797AB #D3E797 #97E7D3 #AB97E7
split-complementary
#E797AB #97E7AB #97D3E7
monochromatic
#D0345B #DC6583 #E797AB #F2C9D3 #F9E6EB
Accessibility & contrast
On white
2.23
#E797AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#E797AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E797AB
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E797AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E797AB | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3A5AC
Deuteranopia (green-blind)
#B6B3A9
Tritanopia (blue-blind)
#F4929E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #e797ab; /* rgb */ color: rgb(231, 151, 171); /* oklch */ color: oklch(76.2% 0.099 3.4);
Tailwind
colors: {
custom: {
50: '#f0b6c4',
500: '#e797ab',
950: '#000000',
},
}SCSS
$custom: #e797ab; $custom-light: #f0b6c4; $custom-dark: #000000;
JSON
{
"hex": "#e797ab",
"rgb": {
"r": 231,
"g": 151,
"b": 171
},
"hsl": {
"h": 345,
"s": 62.5,
"l": 74.902
},
"oklch": {
"l": 0.76188,
"c": 0.09883,
"h": 3.4
},
"luminance": 0.42062
}Semantic roles & 50–950 ramp
primary
#E797AB
secondary
#DAF1EB
accent
#CA9E1B
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#171112
muted
#858081