#B23B31#B23B31

#B23B31 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.2% C 0.156 H 28.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B23B31
RGBrgb(178, 59, 49)
HSLhsl(5, 57%, 45%)
HSVhsv(5, 72%, 70%)
CMYKcmyk(0%, 66.9%, 72.5%, 30.2%)
CIE-LABlab(42.49, 47.66, 32.73)
CIE-LCHlch(42.49, 57.81, 34.48°)
OKLaboklab(52.25% 0.1375 0.0744)
OKLCHoklch(52.25% 0.156 28.4)
XYZxyz(20.4807, 12.8176, 4.3007)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23B31 #31A8B2
analogous
#B23168 #B23B31 #B27C31
triadic
#B23B31 #31B23B #3B31B2
tetradic
#B23B31 #68B231 #31A8B2 #7C31B2
square
#B23B31 #68B231 #31A8B2 #7C31B2
split-complementary
#B23B31 #31B27C #3168B2
monochromatic
#521B17 #822B24 #B23B31 #CF5B51 #DC8881

Accessibility & contrast

On white

5.89
#B23B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B23B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23B31
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23B31#FFFFFF#000000##FFFFFF
##B23B311.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23b31;
/* rgb */ color: rgb(178, 59, 49);
/* oklch */ color: oklch(52.2% 0.156 28.4);
Tailwind
colors: {
  custom: {
    50: '#d17769',
    500: '#b23b31',
    950: '#000000',
  },
}
SCSS
$custom: #b23b31;
$custom-light: #d17769;
$custom-dark: #000000;
JSON
{
  "hex": "#b23b31",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 49
  },
  "hsl": {
    "h": 4.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.15637,
    "h": 28.4
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#B23B31
secondary
#79C0C5
accent
#D4E048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23B31

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

Preview Lab → · Contrast checker → · Palette generator →

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