#B23239#B23239

#B23239 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.164 H 22.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B23239
RGBrgb(178, 50, 57)
HSLhsl(357, 56%, 45%)
HSVhsv(357, 72%, 70%)
CMYKcmyk(0%, 71.9%, 68%, 30.2%)
CIE-LABlab(41.29, 51.66, 26.54)
CIE-LCHlch(41.29, 58.08, 27.19°)
OKLaboklab(51.39% 0.1519 0.0622)
OKLCHoklch(51.39% 0.164 22.3)
XYZxyz(20.2414, 12.0446, 5.1291)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23239 #32B2AB
analogous
#B23279 #B23239 #B26B32
triadic
#B23239 #39B232 #3239B2
tetradic
#B23239 #79B232 #32B2AB #6B32B2
square
#B23239 #79B232 #32B2AB #6B32B2
split-complementary
#B23239 #32B26B #3279B2
monochromatic
#52171A #82252A #B23239 #CF5359 #DC8287

Accessibility & contrast

On white

6.16
#B23239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B23239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23239
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23239#FFFFFF#000000##FFFFFF
##B232391.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565038
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#C40336
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23239;
/* rgb */ color: rgb(178, 50, 57);
/* oklch */ color: oklch(51.4% 0.164 22.3);
Tailwind
colors: {
  custom: {
    50: '#d1736f',
    500: '#b23239',
    950: '#000000',
  },
}
SCSS
$custom: #b23239;
$custom-light: #d1736f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23239",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 356.719,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.16409,
    "h": 22.3
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#B23239
secondary
#7BC5C1
accent
#DFD748
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23239

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

Preview Lab → · Contrast checker → · Palette generator →

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