#B23827#B23827
#B23827 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.161 H 31.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B23827 |
|---|---|
| RGB | rgb(178, 56, 39) |
| HSL | hsl(7, 64%, 43%) |
| HSV | hsv(7, 78%, 70%) |
| CMYK | cmyk(0%, 68.5%, 78.1%, 30.2%) |
| CIE-LAB | lab(41.91, 48.48, 37.74) |
| CIE-LCH | lch(41.91, 61.44, 37.90°) |
| OKLab | oklab(51.78% 0.1381 0.0829) |
| OKLCH | oklch(51.78% 0.161 31) |
| XYZ | xyz(20.1428, 12.4428, 3.2601) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.72
Firebrick
#B22222
ΔE00 3.89
Brownish Red
#9E3623
ΔE00 4.11
Rusty Red
#AF2F0D
ΔE00 4.69
Scarlet
#BE0119
ΔE00 5.11
Brown
#A52A2A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23827 #27A1B2
analogous
#B2275C #B23827 #B27D27
triadic
#B23827 #27B238 #3827B2
tetradic
#B23827 #5CB227 #27A1B2 #7D27B2
square
#B23827 #5CB227 #27A1B2 #7D27B2
split-complementary
#B23827 #27B27D #275CB2
monochromatic
#4E1811 #80281C #B23827 #D55341 #E08073
Accessibility & contrast
On white
6.02
#B23827 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B23827 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23827
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23827 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#C40F35
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b23827; /* rgb */ color: rgb(178, 56, 39); /* oklch */ color: oklch(51.8% 0.161 31.0);
Tailwind
colors: {
custom: {
50: '#d17662',
500: '#b23827',
950: '#000000',
},
}SCSS
$custom: #b23827; $custom-light: #d17662; $custom-dark: #000000;
JSON
{
"hex": "#b23827",
"rgb": {
"r": 178,
"g": 56,
"b": 39
},
"hsl": {
"h": 7.338,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.51777,
"c": 0.16103,
"h": 31
},
"luminance": 0.1244
}Semantic roles & 50–950 ramp
primary
#B23827
secondary
#6DBCC8
accent
#D3E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79