#B23333#B23333

#B23333 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.4% C 0.164 H 25.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B23333
RGBrgb(178, 51, 51)
HSLhsl(0, 55%, 45%)
HSVhsv(0, 71%, 70%)
CMYKcmyk(0%, 71.3%, 71.3%, 30.2%)
CIE-LABlab(41.33, 50.97, 30.21)
CIE-LCHlch(41.33, 59.26, 30.66°)
OKLaboklab(51.39% 0.1484 0.0693)
OKLCHoklch(51.39% 0.164 25)
XYZxyz(20.1437, 12.0747, 4.4013)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23333 #33B2B2
analogous
#B23373 #B23333 #B27333
triadic
#B23333 #33B233 #3333B2
tetradic
#B23333 #73B233 #33B2B2 #7333B2
square
#B23333 #73B233 #33B2B2 #7333B2
split-complementary
#B23333 #33B273 #3373B2
monochromatic
#531818 #822525 #B23333 #CE5454 #DC8484

Accessibility & contrast

On white

6.15
#B23333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B23333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23333
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23333#FFFFFF#000000##FFFFFF
##B233331.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575032
Deuteranopia (green-blind)
#776C2F
Tritanopia (blue-blind)
#C40335
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23333;
/* rgb */ color: rgb(178, 51, 51);
/* oklch */ color: oklch(51.4% 0.164 25.0);
Tailwind
colors: {
  custom: {
    50: '#d1736b',
    500: '#b23333',
    950: '#000000',
  },
}
SCSS
$custom: #b23333;
$custom-light: #d1736b;
$custom-dark: #000000;
JSON
{
  "hex": "#b23333",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 0,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.16379,
    "h": 25
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#B23333
secondary
#7CC5C5
accent
#DFDF49
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23333

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

Preview Lab → · Contrast checker → · Palette generator →

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