#B23839#B23839

#B23839 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.158 H 24.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B23839
RGBrgb(178, 56, 57)
HSLhsl(360, 52%, 46%)
HSVhsv(360, 69%, 70%)
CMYKcmyk(0%, 68.5%, 68%, 30.2%)
CIE-LABlab(42.14, 49.32, 27.59)
CIE-LCHlch(42.14, 56.51, 29.22°)
OKLaboklab(52.02% 0.1444 0.0645)
OKLCHoklch(52.02% 0.158 24.1)
XYZxyz(20.5150, 12.5917, 5.2203)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23839 #38B2B1
analogous
#B23876 #B23839 #B27438
triadic
#B23839 #39B238 #3839B2
tetradic
#B23839 #76B238 #38B2B1 #7438B2
square
#B23839 #76B238 #38B2B1 #7438B2
split-complementary
#B23839 #38B274 #3876B2
monochromatic
#551B1B #83292A #B23839 #CC5C5D #DA8A8B

Accessibility & contrast

On white

5.97
#B23839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B23839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23839
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23839#FFFFFF#000000##FFFFFF
##B238391.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595338
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#C3163A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23839;
/* rgb */ color: rgb(178, 56, 57);
/* oklch */ color: oklch(52.0% 0.158 24.1);
Tailwind
colors: {
  custom: {
    50: '#d0766f',
    500: '#b23839',
    950: '#000000',
  },
}
SCSS
$custom: #b23839;
$custom-light: #d0766f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23839",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 57
  },
  "hsl": {
    "h": 359.508,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.15817,
    "h": 24.1
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#B23839
secondary
#81C5C4
accent
#DCDA4C
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23839

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

Preview Lab → · Contrast checker → · Palette generator →

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