#FB7E98#FB7E98
#FB7E98 is a light, vivid red. Relative luminance 0.377; OKLCH L 74.2% C 0.154 H 8.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #FB7E98 |
|---|---|
| RGB | rgb(251, 126, 152) |
| HSL | hsl(348, 94%, 74%) |
| HSV | hsv(348, 50%, 98%) |
| CMYK | cmyk(0%, 49.8%, 39.4%, 1.6%) |
| CIE-LAB | lab(67.80, 50.11, 8.55) |
| CIE-LCH | lch(67.80, 50.83, 9.68°) |
| OKLab | oklab(74.19% 0.1521 0.0226) |
| OKLCH | oklch(74.19% 0.154 8.4) |
| XYZ | xyz(52.9150, 37.7032, 34.1904) |
| Luminance | 0.3770 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 2.12
Rose Pink
#F7879A
ΔE00 2.17
Rosa
#FE86A4
ΔE00 2.53
Carnation Pink
#FF7FA7
ΔE00 3.74
Pinky
#FC86AA
ΔE00 4.01
Watermelon
#FC6C85
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB7E98 #7EFBE1
analogous
#FB7ED7 #FB7E98 #FBA37E
triadic
#FB7E98 #98FB7E #7E98FB
tetradic
#FB7E98 #D7FB7E #7EFBE1 #A37EFB
square
#FB7E98 #D7FB7E #7EFBE1 #A37EFB
split-complementary
#FB7E98 #7EFBA3 #7ED7FB
monochromatic
#F70839 #F94369 #FB7E98 #FDB9C7 #FEE1E7
Accessibility & contrast
On white
2.46
#FB7E98 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#FB7E98 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB7E98
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB7E98 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB7E98 | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#959699
Deuteranopia (green-blind)
#B5AE95
Tritanopia (blue-blind)
#FF7187
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #fb7e98; /* rgb */ color: rgb(251, 126, 152); /* oklch */ color: oklch(74.2% 0.154 8.4);
Tailwind
colors: {
custom: {
50: '#ffa6b6',
500: '#fb7e98',
950: '#000000',
},
}SCSS
$custom: #fb7e98; $custom-light: #ffa6b6; $custom-dark: #000000;
JSON
{
"hex": "#fb7e98",
"rgb": {
"r": 251,
"g": 126,
"b": 152
},
"hsl": {
"h": 347.52,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.74192,
"c": 0.1538,
"h": 8.4
},
"luminance": 0.37698
}Semantic roles & 50–950 ramp
primary
#FB7E98
secondary
#D5F6EF
accent
#E6B600
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181011
muted
#867F80