#B23039#B23039

#B23039 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.166 H 21.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B23039
RGBrgb(178, 48, 57)
HSLhsl(356, 58%, 44%)
HSVhsv(356, 73%, 70%)
CMYKcmyk(0%, 73%, 68%, 30.2%)
CIE-LABlab(41.02, 52.40, 26.21)
CIE-LCHlch(41.02, 58.59, 26.58°)
OKLaboklab(51.19% 0.1542 0.0614)
OKLCHoklch(51.19% 0.166 21.7)
XYZxyz(20.1578, 11.8773, 5.1012)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23039 #30B2A9
analogous
#B2307A #B23039 #B26830
triadic
#B23039 #39B230 #3039B2
tetradic
#B23039 #7AB230 #30B2A9 #6830B2
square
#B23039 #7AB230 #30B2A9 #6830B2
split-complementary
#B23039 #30B268 #307AB2
monochromatic
#52161A #82232A #B23039 #D05058 #DD8086

Accessibility & contrast

On white

6.22
#B23039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B23039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23039
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23039#FFFFFF#000000##FFFFFF
##B230391.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F38
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23039;
/* rgb */ color: rgb(178, 48, 57);
/* oklch */ color: oklch(51.2% 0.166 21.7);
Tailwind
colors: {
  custom: {
    50: '#d1726f',
    500: '#b23039',
    950: '#000000',
  },
}
SCSS
$custom: #b23039;
$custom-light: #d1726f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23039",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 57
  },
  "hsl": {
    "h": 355.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.16599,
    "h": 21.7
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#B23039
secondary
#78C6C0
accent
#E1D647
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23039

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

Preview Lab → · Contrast checker → · Palette generator →

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