#B23A28#B23A28

#B23A28 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.159 H 31.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B23A28
RGBrgb(178, 58, 40)
HSLhsl(8, 63%, 43%)
HSVhsv(8, 78%, 70%)
CMYKcmyk(0%, 67.4%, 77.5%, 30.2%)
CIE-LABlab(42.23, 47.69, 37.53)
CIE-LCHlch(42.23, 60.69, 38.20°)
OKLaboklab(52.02% 0.1358 0.0827)
OKLCHoklch(52.02% 0.159 31.3)
XYZxyz(20.2584, 12.6473, 3.3815)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A28 #28A0B2
analogous
#B2285B #B23A28 #B27F28
triadic
#B23A28 #28B23A #3A28B2
tetradic
#B23A28 #5BB228 #28A0B2 #7F28B2
square
#B23A28 #5BB228 #28A0B2 #7F28B2
split-complementary
#B23A28 #28B27F #285BB2
monochromatic
#4E1912 #802A1D #B23A28 #D55643 #E08375

Accessibility & contrast

On white

5.95
#B23A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B23A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A28
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A28#FFFFFF#000000##FFFFFF
##B23A281.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5325
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#C41537
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23a28;
/* rgb */ color: rgb(178, 58, 40);
/* oklch */ color: oklch(52.0% 0.159 31.3);
Tailwind
colors: {
  custom: {
    50: '#d17763',
    500: '#b23a28',
    950: '#000000',
  },
}
SCSS
$custom: #b23a28;
$custom-light: #d17763;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a28",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 7.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.15899,
    "h": 31.3
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#B23A28
secondary
#6FBCC7
accent
#D1E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23A28

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

Preview Lab → · Contrast checker → · Palette generator →

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