#B23127#B23127
#B23127 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.167 H 28.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B23127 |
|---|---|
| RGB | rgb(178, 49, 39) |
| HSL | hsl(4, 64%, 43%) |
| HSV | hsv(4, 78%, 70%) |
| CMYK | cmyk(0%, 72.5%, 78.1%, 30.2%) |
| CIE-LAB | lab(40.91, 51.21, 36.70) |
| CIE-LCH | lch(40.91, 63.01, 35.62°) |
| OKLab | oklab(51.03% 0.1466 0.0806) |
| OKLCH | oklch(51.03% 0.167 28.8) |
| XYZ | xyz(19.8269, 11.8111, 3.1549) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.22
Scarlet
#BE0119
ΔE00 3.86
Brick
#A03623
ΔE00 3.87
Brown
#A52A2A
ΔE00 4.08
Brownish Red
#9E3623
ΔE00 4.22
Dull Red
#BB3F3F
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23127 #27A8B2
analogous
#B22762 #B23127 #B27727
triadic
#B23127 #27B231 #3127B2
tetradic
#B23127 #62B227 #27A8B2 #7727B2
square
#B23127 #62B227 #27A8B2 #7727B2
split-complementary
#B23127 #27B277 #2762B2
monochromatic
#4E1511 #80231C #B23127 #D54C41 #E07B73
Accessibility & contrast
On white
6.25
#B23127 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B23127 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23127
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23127 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E25
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b23127; /* rgb */ color: rgb(178, 49, 39); /* oklch */ color: oklch(51.0% 0.167 28.8);
Tailwind
colors: {
custom: {
50: '#d27262',
500: '#b23127',
950: '#000000',
},
}SCSS
$custom: #b23127; $custom-light: #d27262; $custom-dark: #000000;
JSON
{
"hex": "#b23127",
"rgb": {
"r": 178,
"g": 49,
"b": 39
},
"hsl": {
"h": 4.317,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.51031,
"c": 0.1673,
"h": 28.8
},
"luminance": 0.11808
}Semantic roles & 50–950 ramp
primary
#B23127
secondary
#6DC1C8
accent
#DBE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79