#B23328#B23328

#B23328 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.2% C 0.165 H 29.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B23328
RGBrgb(178, 51, 40)
HSLhsl(5, 63%, 43%)
HSVhsv(5, 78%, 70%)
CMYKcmyk(0%, 71.3%, 77.5%, 30.2%)
CIE-LABlab(41.20, 50.50, 36.44)
CIE-LCHlch(41.20, 62.27, 35.81°)
OKLaboklab(51.25% 0.1446 0.0803)
OKLCHoklch(51.25% 0.165 29.1)
XYZxyz(19.9292, 11.9889, 3.2718)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23328 #28A7B2
analogous
#B22862 #B23328 #B27828
triadic
#B23328 #28B233 #3328B2
tetradic
#B23328 #62B228 #28A7B2 #7828B2
square
#B23328 #62B228 #28A7B2 #7828B2
split-complementary
#B23328 #28B278 #2862B2
monochromatic
#4E1612 #80251D #B23328 #D54E43 #E07D75

Accessibility & contrast

On white

6.18
#B23328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B23328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23328
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23328#FFFFFF#000000##FFFFFF
##B233281.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F26
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23328;
/* rgb */ color: rgb(178, 51, 40);
/* oklch */ color: oklch(51.2% 0.165 29.1);
Tailwind
colors: {
  custom: {
    50: '#d27363',
    500: '#b23328',
    950: '#000000',
  },
}
SCSS
$custom: #b23328;
$custom-light: #d27363;
$custom-dark: #000000;
JSON
{
  "hex": "#b23328",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 40
  },
  "hsl": {
    "h": 4.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.16538,
    "h": 29.1
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#B23328
secondary
#6FC0C7
accent
#D9E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23328

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

Preview Lab → · Contrast checker → · Palette generator →

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