#B02731#B02731
#B02731 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.172 H 22.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B02731 |
|---|---|
| RGB | rgb(176, 39, 49) |
| HSL | hsl(356, 64%, 42%) |
| HSV | hsv(356, 78%, 69%) |
| CMYK | cmyk(0%, 77.8%, 72.2%, 31%) |
| CIE-LAB | lab(39.42, 54.42, 29.07) |
| CIE-LCH | lch(39.42, 61.70, 28.11°) |
| OKLab | oklab(49.89% 0.1592 0.0665) |
| OKLCH | oklch(49.89% 0.173 22.7) |
| XYZ | xyz(19.1866, 10.9059, 3.9999) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.81
Lipstick Red
#C0022F
ΔE00 3.14
Firebrick
#B22222
ΔE00 4.00
Cardinal
#C41E3A
ΔE00 4.19
Dull Red
#BB3F3F
ΔE00 5.19
Rose Red
#BE013C
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02731 #27B0A6
analogous
#B02776 #B02731 #B06127
triadic
#B02731 #31B027 #2731B0
tetradic
#B02731 #76B027 #27B0A6 #6127B0
square
#B02731 #76B027 #27B0A6 #6127B0
split-complementary
#B02731 #27B061 #2776B0
monochromatic
#4C1115 #7E1C23 #B02731 #D5404A #E0727A
Accessibility & contrast
On white
6.60
#B02731 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B02731 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02731
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02731 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#73672C
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02731; /* rgb */ color: rgb(176, 39, 49); /* oklch */ color: oklch(49.9% 0.172 22.7);
Tailwind
colors: {
custom: {
50: '#d06e69',
500: '#b02731',
950: '#000000',
},
}SCSS
$custom: #b02731; $custom-light: #d06e69; $custom-dark: #000000;
JSON
{
"hex": "#b02731",
"rgb": {
"r": 176,
"g": 39,
"b": 49
},
"hsl": {
"h": 355.62,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.49889,
"c": 0.1725,
"h": 22.7
},
"luminance": 0.10903
}Semantic roles & 50–950 ramp
primary
#B02731
secondary
#6CC7C0
accent
#E7DB41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A