#B23031#B23031

#B23031 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 25.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B23031
RGBrgb(178, 48, 49)
HSLhsl(360, 58%, 44%)
HSVhsv(360, 73%, 70%)
CMYKcmyk(0%, 73%, 72.5%, 30.2%)
CIE-LABlab(40.90, 52.00, 30.90)
CIE-LCHlch(40.90, 60.48, 30.72°)
OKLaboklab(51.06% 0.1512 0.0704)
OKLCHoklch(51.06% 0.167 25)
XYZxyz(19.9737, 11.8037, 4.1318)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23031 #30B2B1
analogous
#B23072 #B23031 #B27030
triadic
#B23031 #31B230 #3031B2
tetradic
#B23031 #72B230 #30B2B1 #7030B2
square
#B23031 #72B230 #30B2B1 #7030B2
split-complementary
#B23031 #30B270 #3072B2
monochromatic
#521616 #822324 #B23031 #D05051 #DD8080

Accessibility & contrast

On white

6.25
#B23031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B23031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23031
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23031#FFFFFF#000000##FFFFFF
##B230311.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F30
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b23031;
/* rgb */ color: rgb(178, 48, 49);
/* oklch */ color: oklch(51.1% 0.167 25.0);
Tailwind
colors: {
  custom: {
    50: '#d17269',
    500: '#b23031',
    950: '#000000',
  },
}
SCSS
$custom: #b23031;
$custom-light: #d17269;
$custom-dark: #000000;
JSON
{
  "hex": "#b23031",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 49
  },
  "hsl": {
    "h": 359.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.16679,
    "h": 25
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#B23031
secondary
#78C6C5
accent
#E1E047
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B23031

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

Preview Lab → · Contrast checker → · Palette generator →

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