#B23731#B23731

#B23731 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.160 H 27.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B23731
RGBrgb(178, 55, 49)
HSLhsl(3, 57%, 45%)
HSVhsv(3, 72%, 70%)
CMYKcmyk(0%, 69.1%, 72.5%, 30.2%)
CIE-LABlab(41.88, 49.31, 32.03)
CIE-LCHlch(41.88, 58.80, 33.01°)
OKLaboklab(51.79% 0.1427 0.0729)
OKLCHoklch(51.79% 0.16 27.1)
XYZxyz(20.2829, 12.4221, 4.2348)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23731 #31ACB2
analogous
#B2316B #B23731 #B27831
triadic
#B23731 #31B237 #3731B2
tetradic
#B23731 #6BB231 #31ACB2 #7831B2
square
#B23731 #6BB231 #31ACB2 #7831B2
split-complementary
#B23731 #31B278 #316BB2
monochromatic
#521917 #822824 #B23731 #CF5751 #DC8581

Accessibility & contrast

On white

6.03
#B23731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B23731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23731
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23731#FFFFFF#000000##FFFFFF
##B237311.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522F
Deuteranopia (green-blind)
#786D2D
Tritanopia (blue-blind)
#C41037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23731;
/* rgb */ color: rgb(178, 55, 49);
/* oklch */ color: oklch(51.8% 0.160 27.1);
Tailwind
colors: {
  custom: {
    50: '#d17569',
    500: '#b23731',
    950: '#000000',
  },
}
SCSS
$custom: #b23731;
$custom-light: #d17569;
$custom-dark: #000000;
JSON
{
  "hex": "#b23731",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 49
  },
  "hsl": {
    "h": 2.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.16026,
    "h": 27.1
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23731

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

Preview Lab → · Contrast checker → · Palette generator →

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