#B23A42#B23A42

#B23A42 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.4% C 0.155 H 20.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B23A42
RGBrgb(178, 58, 66)
HSLhsl(356, 51%, 46%)
HSVhsv(356, 67%, 70%)
CMYKcmyk(0%, 67.4%, 62.9%, 30.2%)
CIE-LABlab(42.59, 49.04, 22.69)
CIE-LCHlch(42.59, 54.03, 24.83°)
OKLaboklab(52.41% 0.1453 0.0546)
OKLCHoklch(52.41% 0.155 20.6)
XYZxyz(20.8586, 12.8873, 6.5423)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A42 #3AB2AA
analogous
#B23A7E #B23A42 #B26E3A
triadic
#B23A42 #42B23A #3A42B2
tetradic
#B23A42 #7EB23A #3AB2AA #6E3AB2
square
#B23A42 #7EB23A #3AB2AA #6E3AB2
split-complementary
#B23A42 #3AB26E #3A7EB2
monochromatic
#561C20 #842B31 #B23A42 #CB5F66 #DA8D92

Accessibility & contrast

On white

5.87
#B23A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B23A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A42
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A42#FFFFFF#000000##FFFFFF
##B23A421.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5441
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C31D3E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23a42;
/* rgb */ color: rgb(178, 58, 66);
/* oklch */ color: oklch(52.4% 0.155 20.6);
Tailwind
colors: {
  custom: {
    50: '#d07776',
    500: '#b23a42',
    950: '#000000',
  },
}
SCSS
$custom: #b23a42;
$custom-light: #d07776;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a42",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 356,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.15523,
    "h": 20.6
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#B23A42
secondary
#83C4C0
accent
#DAD14D
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23A42

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

Preview Lab → · Contrast checker → · Palette generator →

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