#B02742#B02742
#B02742 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.172 H 15.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B02742 |
|---|---|
| RGB | rgb(176, 39, 66) |
| HSL | hsl(348, 64%, 42%) |
| HSV | hsv(348, 78%, 69%) |
| CMYK | cmyk(0%, 77.8%, 62.5%, 31%) |
| CIE-LAB | lab(39.71, 55.34, 18.87) |
| CIE-LCH | lch(39.71, 58.47, 18.82°) |
| OKLab | oklab(50.2% 0.1658 0.0458) |
| OKLCH | oklch(50.2% 0.172 15.5) |
| XYZ | xyz(19.6154, 11.0774, 6.2585) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.75
Rose Red
#BE013C
ΔE00 2.98
Ruby
#CA0147
ΔE00 4.59
Cardinal
#C41E3A
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.34
Purplish Red
#B0054B
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02742 #27B095
analogous
#B02787 #B02742 #B05027
triadic
#B02742 #42B027 #2742B0
tetradic
#B02742 #87B027 #27B095 #5027B0
square
#B02742 #87B027 #27B095 #5027B0
split-complementary
#B02742 #27B050 #2787B0
monochromatic
#4C111C #7E1C2F #B02742 #D5405D #E07287
Accessibility & contrast
On white
6.53
#B02742 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B02742 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02742
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02742 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#C10033
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b02742; /* rgb */ color: rgb(176, 39, 66); /* oklch */ color: oklch(50.2% 0.172 15.5);
Tailwind
colors: {
custom: {
50: '#cf6e76',
500: '#b02742',
950: '#000000',
},
}SCSS
$custom: #b02742; $custom-light: #cf6e76; $custom-dark: #000000;
JSON
{
"hex": "#b02742",
"rgb": {
"r": 176,
"g": 39,
"b": 66
},
"hsl": {
"h": 348.175,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.50196,
"c": 0.17198,
"h": 15.5
},
"luminance": 0.11074
}Semantic roles & 50–950 ramp
primary
#B02742
secondary
#6CC7B5
accent
#E7C641
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B