#EB787F#EB787F
#EB787F is a light, vivid red. Relative luminance 0.326; OKLCH L 70.6% C 0.142 H 17.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #EB787F |
|---|---|
| RGB | rgb(235, 120, 127) |
| HSL | hsl(356, 74%, 70%) |
| HSV | hsv(356, 49%, 92%) |
| CMYK | cmyk(0%, 48.9%, 46%, 7.8%) |
| CIE-LAB | lab(63.86, 44.92, 16.86) |
| CIE-LCH | lch(63.86, 47.98, 20.57°) |
| OKLab | oklab(70.58% 0.1353 0.0429) |
| OKLCH | oklch(70.58% 0.142 17.6) |
| XYZ | xyz(44.8111, 32.6320, 24.0133) |
| Luminance | 0.3263 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.76
Blush Pink
#FE828C
ΔE00 4.08
Salmon Pink
#FE7B7C
ΔE00 4.12
Watermelon
#FC6C85
ΔE00 4.59
Carnation
#FD798F
ΔE00 4.72
Rose Pink
#F7879A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB787F #78EBE4
analogous
#EB78B9 #EB787F #EBAB78
triadic
#EB787F #7FEB78 #787FEB
tetradic
#EB787F #B9EB78 #78EBE4 #AB78EB
square
#EB787F #B9EB78 #78EBE4 #AB78EB
split-complementary
#EB787F #78EBAB #78B9EB
monochromatic
#CB1E29 #E3434C #EB787F #F3ADB2 #FBE3E4
Accessibility & contrast
On white
2.79
#EB787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#EB787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB787F
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB787F | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908C7F
Deuteranopia (green-blind)
#ADA47D
Tritanopia (blue-blind)
#FE697B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #eb787f; /* rgb */ color: rgb(235, 120, 127); /* oklch */ color: oklch(70.6% 0.142 17.6);
Tailwind
colors: {
custom: {
50: '#f5a1a4',
500: '#eb787f',
950: '#000000',
},
}SCSS
$custom: #eb787f; $custom-light: #f5a1a4; $custom-dark: #000000;
JSON
{
"hex": "#eb787f",
"rgb": {
"r": 235,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.348,
"s": 74.194,
"l": 69.608
},
"oklch": {
"l": 0.70575,
"c": 0.14196,
"h": 17.6
},
"luminance": 0.32627
}Semantic roles & 50–950 ramp
primary
#EB787F
secondary
#CFF0EE
accent
#D6CA0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F