#B23338#B23338

#B23338 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.163 H 23.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B23338
RGBrgb(178, 51, 56)
HSLhsl(358, 55%, 45%)
HSVhsv(358, 71%, 70%)
CMYKcmyk(0%, 71.3%, 68.5%, 30.2%)
CIE-LABlab(41.41, 51.23, 27.30)
CIE-LCHlch(41.41, 58.05, 28.05°)
OKLaboklab(51.47% 0.1503 0.0637)
OKLCHoklch(51.47% 0.163 23)
XYZxyz(20.2599, 12.1211, 5.0134)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23338 #33B2AD
analogous
#B23377 #B23338 #B26E33
triadic
#B23338 #38B233 #3338B2
tetradic
#B23338 #77B233 #33B2AD #6E33B2
square
#B23338 #77B233 #33B2AD #6E33B2
split-complementary
#B23338 #33B26E #3377B2
monochromatic
#53181A #822529 #B23338 #CE5459 #DC8487

Accessibility & contrast

On white

6.13
#B23338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B23338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23338
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23338#FFFFFF#000000##FFFFFF
##B233381.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575037
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#C40636
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23338;
/* rgb */ color: rgb(178, 51, 56);
/* oklch */ color: oklch(51.5% 0.163 23.0);
Tailwind
colors: {
  custom: {
    50: '#d1746e',
    500: '#b23338',
    950: '#000000',
  },
}
SCSS
$custom: #b23338;
$custom-light: #d1746e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23338",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 56
  },
  "hsl": {
    "h": 357.638,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.16322,
    "h": 23
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#B23338
secondary
#7CC5C2
accent
#DFD949
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23338

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

Preview Lab → · Contrast checker → · Palette generator →

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