#B23935#B23935
#B23935 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.158 H 26.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B23935 |
|---|---|
| RGB | rgb(178, 57, 53) |
| HSL | hsl(2, 54%, 45%) |
| HSV | hsv(2, 70%, 70%) |
| CMYK | cmyk(0%, 68%, 70.2%, 30.2%) |
| CIE-LAB | lab(42.23, 48.69, 30.09) |
| CIE-LCH | lch(42.23, 57.24, 31.71°) |
| OKLab | oklab(52.07% 0.1416 0.0694) |
| OKLCH | oklch(52.07% 0.158 26.1) |
| XYZ | xyz(20.4680, 12.6512, 4.7316) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.91
Firebrick
#B22222
ΔE00 4.10
Brown
#A52A2A
ΔE00 4.14
Reddish
#C44240
ΔE00 4.61
Cardinal
#C41E3A
ΔE00 5.47
Lipstick Red
#C0022F
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23935 #35AEB2
analogous
#B2356F #B23935 #B27735
triadic
#B23935 #35B239 #3935B2
tetradic
#B23935 #6FB235 #35AEB2 #7735B2
square
#B23935 #6FB235 #35AEB2 #7735B2
split-complementary
#B23935 #35B277 #356FB2
monochromatic
#541B19 #832A27 #B23935 #CD5B57 #DB8986
Accessibility & contrast
On white
5.95
#B23935 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#B23935 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23935
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23935 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23935 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5334
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#C41739
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b23935; /* rgb */ color: rgb(178, 57, 53); /* oklch */ color: oklch(52.1% 0.158 26.1);
Tailwind
colors: {
custom: {
50: '#d1766c',
500: '#b23935',
950: '#000000',
},
}SCSS
$custom: #b23935; $custom-light: #d1766c; $custom-dark: #000000;
JSON
{
"hex": "#b23935",
"rgb": {
"r": 178,
"g": 57,
"b": 53
},
"hsl": {
"h": 1.92,
"s": 54.113,
"l": 45.294
},
"oklch": {
"l": 0.52073,
"c": 0.15771,
"h": 26.1
},
"luminance": 0.12648
}Semantic roles & 50–950 ramp
primary
#B23935
secondary
#7EC3C5
accent
#D9DD4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A