#B23631#B23631

#B23631 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.7% C 0.161 H 26.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B23631
RGBrgb(178, 54, 49)
HSLhsl(2, 57%, 45%)
HSVhsv(2, 72%, 70%)
CMYKcmyk(0%, 69.7%, 72.5%, 30.2%)
CIE-LABlab(41.73, 49.71, 31.86)
CIE-LCHlch(41.73, 59.04, 32.66°)
OKLaboklab(51.68% 0.144 0.0725)
OKLCHoklch(51.68% 0.161 26.7)
XYZxyz(20.2359, 12.3281, 4.2192)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23631 #31ADB2
analogous
#B2316C #B23631 #B27731
triadic
#B23631 #31B236 #3631B2
tetradic
#B23631 #6CB231 #31ADB2 #7731B2
square
#B23631 #6CB231 #31ADB2 #7731B2
split-complementary
#B23631 #31B277 #316CB2
monochromatic
#521917 #822724 #B23631 #CF5651 #DC8581

Accessibility & contrast

On white

6.06
#B23631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B23631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23631
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23631#FFFFFF#000000##FFFFFF
##B236311.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512F
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#C40D36
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23631;
/* rgb */ color: rgb(178, 54, 49);
/* oklch */ color: oklch(51.7% 0.161 26.7);
Tailwind
colors: {
  custom: {
    50: '#d17569',
    500: '#b23631',
    950: '#000000',
  },
}
SCSS
$custom: #b23631;
$custom-light: #d17569;
$custom-dark: #000000;
JSON
{
  "hex": "#b23631",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 49
  },
  "hsl": {
    "h": 2.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.16122,
    "h": 26.7
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#B23631
secondary
#79C2C5
accent
#DAE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23631

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

Preview Lab → · Contrast checker → · Palette generator →

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