#B33838#B33838
#B33838 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.2% C 0.159 H 24.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B33838 |
|---|---|
| RGB | rgb(179, 56, 56) |
| HSL | hsl(0, 52%, 46%) |
| HSV | hsv(0, 69%, 70%) |
| CMYK | cmyk(0%, 68.7%, 68.7%, 29.8%) |
| CIE-LAB | lab(42.31, 49.59, 28.43) |
| CIE-LCH | lch(42.31, 57.17, 29.83°) |
| OKLab | oklab(52.18% 0.145 0.0662) |
| OKLCH | oklch(52.18% 0.159 24.5) |
| XYZ | xyz(20.7206, 12.7006, 5.1010) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.45
Brown
#A52A2A
ΔE00 4.34
Reddish
#C44240
ΔE00 4.46
Cardinal
#C41E3A
ΔE00 4.56
Firebrick
#B22222
ΔE00 4.68
Lipstick Red
#C0022F
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B33838 #38B3B3
analogous
#B33875 #B33838 #B37538
triadic
#B33838 #38B338 #3838B3
tetradic
#B33838 #75B338 #38B3B3 #7538B3
square
#B33838 #75B338 #38B3B3 #7538B3
split-complementary
#B33838 #38B375 #3875B3
monochromatic
#561B1B #842929 #B33838 #CC5C5C #DB8B8B
Accessibility & contrast
On white
5.93
#B33838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B33838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B33838
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B33838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B33838 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5337
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#C51539
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b33838; /* rgb */ color: rgb(179, 56, 56); /* oklch */ color: oklch(52.2% 0.159 24.5);
Tailwind
colors: {
custom: {
50: '#d1766e',
500: '#b33838',
950: '#000000',
},
}SCSS
$custom: #b33838; $custom-light: #d1766e; $custom-dark: #000000;
JSON
{
"hex": "#b33838",
"rgb": {
"r": 179,
"g": 56,
"b": 56
},
"hsl": {
"h": 0,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.52177,
"c": 0.15937,
"h": 24.5
},
"luminance": 0.12698
}Semantic roles & 50–950 ramp
primary
#B33838
secondary
#82C5C5
accent
#DCDC4C
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A