#B23121#B23121

#B23121 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.168 H 30.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B23121
RGBrgb(178, 49, 33)
HSLhsl(7, 69%, 41%)
HSVhsv(7, 81%, 70%)
CMYKcmyk(0%, 72.5%, 81.5%, 30.2%)
CIE-LABlab(40.86, 51.01, 39.91)
CIE-LCHlch(40.86, 64.77, 38.04°)
OKLaboklab(50.97% 0.1448 0.0857)
OKLCHoklch(50.97% 0.168 30.6)
XYZxyz(19.7353, 11.7745, 2.6721)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23121 #21A2B2
analogous
#B2215A #B23121 #B27A21
triadic
#B23121 #21B231 #3121B2
tetradic
#B23121 #5AB221 #21A2B2 #7A21B2
square
#B23121 #5AB221 #21A2B2 #7A21B2
split-complementary
#B23121 #21B27A #215AB2
monochromatic
#4B150E #7E2317 #B23121 #DA4836 #E3776A

Accessibility & contrast

On white

6.26
#B23121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23121
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23121#FFFFFF#000000##FFFFFF
##B231211.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23121;
/* rgb */ color: rgb(178, 49, 33);
/* oklch */ color: oklch(51.0% 0.168 30.6);
Tailwind
colors: {
  custom: {
    50: '#d2725e',
    500: '#b23121',
    950: '#000000',
  },
}
SCSS
$custom: #b23121;
$custom-light: #d2725e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23121",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 33
  },
  "hsl": {
    "h": 6.621,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.16824,
    "h": 30.6
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23121

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

Preview Lab → · Contrast checker → · Palette generator →

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