#B23331#B23331

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

Color values

HEX#B23331
RGBrgb(178, 51, 49)
HSLhsl(1, 57%, 45%)
HSVhsv(1, 72%, 70%)
CMYKcmyk(0%, 71.3%, 72.5%, 30.2%)
CIE-LABlab(41.31, 50.88, 31.37)
CIE-LCHlch(41.31, 59.77, 31.66°)
OKLaboklab(51.36% 0.1477 0.0715)
OKLCHoklch(51.36% 0.164 25.8)
XYZxyz(20.1005, 12.0574, 4.1740)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23331 #31B0B2
analogous
#B23170 #B23331 #B27431
triadic
#B23331 #31B233 #3331B2
tetradic
#B23331 #70B231 #31B0B2 #7431B2
square
#B23331 #70B231 #31B0B2 #7431B2
split-complementary
#B23331 #31B274 #3170B2
monochromatic
#521817 #822524 #B23331 #CF5351 #DC8281

Accessibility & contrast

On white

6.16
#B23331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23331
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23331#FFFFFF#000000##FFFFFF
##B233311.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575030
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#C40134
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23331;
/* rgb */ color: rgb(178, 51, 49);
/* oklch */ color: oklch(51.4% 0.164 25.8);
Tailwind
colors: {
  custom: {
    50: '#d17369',
    500: '#b23331',
    950: '#000000',
  },
}
SCSS
$custom: #b23331;
$custom-light: #d17369;
$custom-dark: #000000;
JSON
{
  "hex": "#b23331",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 49
  },
  "hsl": {
    "h": 0.93,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.16405,
    "h": 25.8
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#B23331
secondary
#79C4C5
accent
#DEE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23331

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

Preview Lab → · Contrast checker → · Palette generator →

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