#B23A21#B23A21

#B23A21 is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.9% C 0.160 H 33.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B23A21
RGBrgb(178, 58, 33)
HSLhsl(10, 69%, 41%)
HSVhsv(10, 81%, 70%)
CMYKcmyk(0%, 67.4%, 81.5%, 30.2%)
CIE-LABlab(42.16, 47.45, 41.17)
CIE-LCHlch(42.16, 62.82, 40.95°)
OKLaboklab(51.95% 0.1337 0.0885)
OKLCHoklch(51.95% 0.16 33.5)
XYZxyz(20.1500, 12.6039, 2.8103)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A21 #2199B2
analogous
#B22151 #B23A21 #B28321
triadic
#B23A21 #21B23A #3A21B2
tetradic
#B23A21 #51B221 #2199B2 #8321B2
square
#B23A21 #51B221 #2199B2 #8321B2
split-complementary
#B23A21 #21B283 #2151B2
monochromatic
#4B180E #7E2917 #B23A21 #DA5336 #E37F6A

Accessibility & contrast

On white

5.97
#B23A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B23A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A21
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A21#FFFFFF#000000##FFFFFF
##B23A211.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531D
Deuteranopia (green-blind)
#7B6D1C
Tritanopia (blue-blind)
#C41335
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23a21;
/* rgb */ color: rgb(178, 58, 33);
/* oklch */ color: oklch(51.9% 0.160 33.5);
Tailwind
colors: {
  custom: {
    50: '#d2775e',
    500: '#b23a21',
    950: '#000000',
  },
}
SCSS
$custom: #b23a21;
$custom-light: #d2775e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a21",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 33
  },
  "hsl": {
    "h": 10.345,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.16032,
    "h": 33.5
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#B23A21
secondary
#66B8C9
accent
#CDEC3C
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160904
muted
#847B79

Preview Lab

Preview with #B23A21

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

Preview Lab → · Contrast checker → · Palette generator →

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