#B23831#B23831

#B23831 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.9% C 0.159 H 27.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B23831
RGBrgb(178, 56, 49)
HSLhsl(3, 57%, 45%)
HSVhsv(3, 72%, 70%)
CMYKcmyk(0%, 68.5%, 72.5%, 30.2%)
CIE-LABlab(42.03, 48.91, 32.20)
CIE-LCHlch(42.03, 58.55, 33.36°)
OKLaboklab(51.9% 0.1415 0.0733)
OKLCHoklch(51.9% 0.159 27.4)
XYZxyz(20.3309, 12.5181, 4.2508)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23831 #31ABB2
analogous
#B2316B #B23831 #B27931
triadic
#B23831 #31B238 #3831B2
tetradic
#B23831 #6BB231 #31ABB2 #7931B2
square
#B23831 #6BB231 #31ABB2 #7931B2
split-complementary
#B23831 #31B279 #316BB2
monochromatic
#521A17 #822924 #B23831 #CF5851 #DC8681

Accessibility & contrast

On white

5.99
#B23831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B23831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23831
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23831#FFFFFF#000000##FFFFFF
##B238311.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23831;
/* rgb */ color: rgb(178, 56, 49);
/* oklch */ color: oklch(51.9% 0.159 27.4);
Tailwind
colors: {
  custom: {
    50: '#d17669',
    500: '#b23831',
    950: '#000000',
  },
}
SCSS
$custom: #b23831;
$custom-light: #d17669;
$custom-dark: #000000;
JSON
{
  "hex": "#b23831",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 49
  },
  "hsl": {
    "h": 3.256,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.1593,
    "h": 27.4
  },
  "luminance": 0.12515
}

Semantic roles & 50–950 ramp

primary
#B23831
secondary
#79C1C5
accent
#D8E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23831

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

Preview Lab → · Contrast checker → · Palette generator →

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