#B23221#B23221

#B23221 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.167 H 30.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B23221
RGBrgb(178, 50, 33)
HSLhsl(7, 69%, 41%)
HSVhsv(7, 81%, 70%)
CMYKcmyk(0%, 71.9%, 81.5%, 30.2%)
CIE-LABlab(40.99, 50.64, 40.04)
CIE-LCHlch(40.99, 64.55, 38.33°)
OKLaboklab(51.07% 0.1436 0.086)
OKLCHoklch(51.07% 0.167 30.9)
XYZxyz(19.7776, 11.8590, 2.6862)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23221 #21A1B2
analogous
#B22159 #B23221 #B27B21
triadic
#B23221 #21B232 #3221B2
tetradic
#B23221 #59B221 #21A1B2 #7B21B2
square
#B23221 #59B221 #21A1B2 #7B21B2
split-complementary
#B23221 #21B27B #2159B2
monochromatic
#4B150E #7E2317 #B23221 #DA4A36 #E3786A

Accessibility & contrast

On white

6.23
#B23221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B23221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23221
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23221#FFFFFF#000000##FFFFFF
##B232211.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1E
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23221;
/* rgb */ color: rgb(178, 50, 33);
/* oklch */ color: oklch(51.1% 0.167 30.9);
Tailwind
colors: {
  custom: {
    50: '#d2735e',
    500: '#b23221',
    950: '#000000',
  },
}
SCSS
$custom: #b23221;
$custom-light: #d2735e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23221",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 33
  },
  "hsl": {
    "h": 7.034,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.16738,
    "h": 30.9
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#B23221
secondary
#66BEC9
accent
#D7EC3C
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B23221

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

Preview Lab → · Contrast checker → · Palette generator →

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