#B23931#B23931

#B23931 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.158 H 27.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B23931
RGBrgb(178, 57, 49)
HSLhsl(4, 57%, 45%)
HSVhsv(4, 72%, 70%)
CMYKcmyk(0%, 68%, 72.5%, 30.2%)
CIE-LABlab(42.18, 48.49, 32.37)
CIE-LCHlch(42.18, 58.31, 33.73°)
OKLaboklab(52.02% 0.1402 0.0736)
OKLCHoklch(52.02% 0.158 27.7)
XYZxyz(20.3798, 12.6160, 4.2671)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23931 #31AAB2
analogous
#B2316A #B23931 #B27A31
triadic
#B23931 #31B239 #3931B2
tetradic
#B23931 #6AB231 #31AAB2 #7A31B2
square
#B23931 #6AB231 #31AAB2 #7A31B2
split-complementary
#B23931 #31B27A #316AB2
monochromatic
#521A17 #822A24 #B23931 #CF5951 #DC8781

Accessibility & contrast

On white

5.96
#B23931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23931
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23931#FFFFFF#000000##FFFFFF
##B239311.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532F
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#C41538
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23931;
/* rgb */ color: rgb(178, 57, 49);
/* oklch */ color: oklch(52.0% 0.158 27.7);
Tailwind
colors: {
  custom: {
    50: '#d17669',
    500: '#b23931',
    950: '#000000',
  },
}
SCSS
$custom: #b23931;
$custom-light: #d17669;
$custom-dark: #000000;
JSON
{
  "hex": "#b23931",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 49
  },
  "hsl": {
    "h": 3.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.15833,
    "h": 27.7
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#B23931
secondary
#79C1C5
accent
#D7E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23931

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

Preview Lab → · Contrast checker → · Palette generator →

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