#B23027#B23027

#B23027 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.168 H 28.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B23027
RGBrgb(178, 48, 39)
HSLhsl(4, 64%, 43%)
HSVhsv(4, 78%, 70%)
CMYKcmyk(0%, 73%, 78.1%, 30.2%)
CIE-LABlab(40.78, 51.58, 36.56)
CIE-LCHlch(40.78, 63.22, 35.33°)
OKLaboklab(50.93% 0.1478 0.0803)
OKLCHoklch(50.93% 0.168 28.5)
XYZxyz(19.7856, 11.7284, 3.1411)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23027 #27A9B2
analogous
#B22763 #B23027 #B27627
triadic
#B23027 #27B230 #3027B2
tetradic
#B23027 #63B227 #27A9B2 #7627B2
square
#B23027 #63B227 #27A9B2 #7627B2
split-complementary
#B23027 #27B276 #2763B2
monochromatic
#4E1511 #80221C #B23027 #D54A41 #E07A73

Accessibility & contrast

On white

6.28
#B23027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B23027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23027
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23027#FFFFFF#000000##FFFFFF
##B230271.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E25
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b23027;
/* rgb */ color: rgb(178, 48, 39);
/* oklch */ color: oklch(50.9% 0.168 28.5);
Tailwind
colors: {
  custom: {
    50: '#d27262',
    500: '#b23027',
    950: '#000000',
  },
}
SCSS
$custom: #b23027;
$custom-light: #d27262;
$custom-dark: #000000;
JSON
{
  "hex": "#b23027",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 39
  },
  "hsl": {
    "h": 3.885,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.16817,
    "h": 28.5
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#B23027
secondary
#6DC2C8
accent
#DCE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B23027

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B23027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva