#B23937#B23937

#B23937 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.157 H 25.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B23937
RGBrgb(178, 57, 55)
HSLhsl(1, 53%, 46%)
HSVhsv(1, 69%, 70%)
CMYKcmyk(0%, 68%, 69.1%, 30.2%)
CIE-LABlab(42.26, 48.80, 28.93)
CIE-LCHlch(42.26, 56.73, 30.66°)
OKLaboklab(52.1% 0.1424 0.0672)
OKLCHoklch(52.1% 0.157 25.3)
XYZxyz(20.5150, 12.6700, 4.9790)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23937 #37B0B2
analogous
#B23772 #B23937 #B27737
triadic
#B23937 #37B239 #3937B2
tetradic
#B23937 #72B237 #37B0B2 #7737B2
square
#B23937 #72B237 #37B0B2 #7737B2
split-complementary
#B23937 #37B277 #3772B2
monochromatic
#541B1A #832A29 #B23937 #CC5C5A #DB8A89

Accessibility & contrast

On white

5.94
#B23937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B23937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23937
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23937#FFFFFF#000000##FFFFFF
##B239371.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5336
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#C4173A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23937;
/* rgb */ color: rgb(178, 57, 55);
/* oklch */ color: oklch(52.1% 0.157 25.3);
Tailwind
colors: {
  custom: {
    50: '#d0766e',
    500: '#b23937',
    950: '#000000',
  },
}
SCSS
$custom: #b23937;
$custom-light: #d0766e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23937",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 55
  },
  "hsl": {
    "h": 0.976,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.15742,
    "h": 25.3
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#B23937
secondary
#80C4C5
accent
#DADC4C
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23937

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

Preview Lab → · Contrast checker → · Palette generator →

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