#B02542#B02542
#B02542 is a mid, vivid red. Relative luminance 0.109; OKLCH L 50.0% C 0.174 H 15.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B02542 |
|---|---|
| RGB | rgb(176, 37, 66) |
| HSL | hsl(347, 65%, 42%) |
| HSV | hsv(347, 79%, 69%) |
| CMYK | cmyk(0%, 79%, 62.5%, 31%) |
| CIE-LAB | lab(39.50, 55.95, 18.58) |
| CIE-LCH | lch(39.50, 58.96, 18.37°) |
| OKLab | oklab(50.04% 0.1677 0.0452) |
| OKLCH | oklch(50.04% 0.174 15.1) |
| XYZ | xyz(19.5515, 10.9495, 6.2372) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.57
Rose Red
#BE013C
ΔE00 2.94
Ruby
#CA0147
ΔE00 4.55
Raspberry (survey)
#B00149
ΔE00 5.01
Cardinal
#C41E3A
ΔE00 5.24
Purplish Red
#B0054B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02542 #25B093
analogous
#B02588 #B02542 #B04E25
triadic
#B02542 #42B025 #2542B0
tetradic
#B02542 #88B025 #25B093 #4E25B0
square
#B02542 #88B025 #25B093 #4E25B0
split-complementary
#B02542 #25B04E #2588B0
monochromatic
#4B101C #7D1A2F #B02542 #D63C5C #E16F87
Accessibility & contrast
On white
6.58
#B02542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B02542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02542
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02542 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02542; /* rgb */ color: rgb(176, 37, 66); /* oklch */ color: oklch(50.0% 0.174 15.1);
Tailwind
colors: {
custom: {
50: '#cf6d76',
500: '#b02542',
950: '#000000',
},
}SCSS
$custom: #b02542; $custom-light: #cf6d76; $custom-dark: #000000;
JSON
{
"hex": "#b02542",
"rgb": {
"r": 176,
"g": 37,
"b": 66
},
"hsl": {
"h": 347.482,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.50037,
"c": 0.17369,
"h": 15.1
},
"luminance": 0.10947
}Semantic roles & 50–950 ramp
primary
#B02542
secondary
#6AC7B4
accent
#E8C540
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B