#B23A31#B23A31

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

Color values

HEX#B23A31
RGBrgb(178, 58, 49)
HSLhsl(4, 57%, 45%)
HSVhsv(4, 72%, 70%)
CMYKcmyk(0%, 67.4%, 72.5%, 30.2%)
CIE-LABlab(42.33, 48.08, 32.55)
CIE-LCHlch(42.33, 58.06, 34.10°)
OKLaboklab(52.13% 0.1389 0.074)
OKLCHoklch(52.13% 0.157 28.1)
XYZxyz(20.4297, 12.7158, 4.2838)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A31 #31A9B2
analogous
#B23169 #B23A31 #B27B31
triadic
#B23A31 #31B23A #3A31B2
tetradic
#B23A31 #69B231 #31A9B2 #7B31B2
square
#B23A31 #69B231 #31A9B2 #7B31B2
split-complementary
#B23A31 #31B27B #3169B2
monochromatic
#521B17 #822A24 #B23A31 #CF5A51 #DC8781

Accessibility & contrast

On white

5.93
#B23A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B23A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A31
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A31#FFFFFF#000000##FFFFFF
##B23A311.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532F
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#C41839
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23a31;
/* rgb */ color: rgb(178, 58, 49);
/* oklch */ color: oklch(52.1% 0.157 28.1);
Tailwind
colors: {
  custom: {
    50: '#d17769',
    500: '#b23a31',
    950: '#000000',
  },
}
SCSS
$custom: #b23a31;
$custom-light: #d17769;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a31",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 49
  },
  "hsl": {
    "h": 4.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.15735,
    "h": 28.1
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#B23A31
secondary
#79C0C5
accent
#D5E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23A31

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

Preview Lab → · Contrast checker → · Palette generator →

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