#B23C27#B23C27

#B23C27 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.2% C 0.157 H 32.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B23C27
RGBrgb(178, 60, 39)
HSLhsl(9, 64%, 43%)
HSVhsv(9, 78%, 70%)
CMYKcmyk(0%, 66.3%, 78.1%, 30.2%)
CIE-LABlab(42.53, 46.81, 38.39)
CIE-LCHlch(42.53, 60.53, 39.36°)
OKLaboklab(52.24% 0.1329 0.0843)
OKLCHoklch(52.24% 0.157 32.4)
XYZxyz(20.3444, 12.8462, 3.3274)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23C27 #279DB2
analogous
#B22757 #B23C27 #B28227
triadic
#B23C27 #27B23C #3C27B2
tetradic
#B23C27 #57B227 #279DB2 #8227B2
square
#B23C27 #57B227 #279DB2 #8227B2
split-complementary
#B23C27 #27B282 #2757B2
monochromatic
#4E1A11 #802B1C #B23C27 #D55741 #E08473

Accessibility & contrast

On white

5.88
#B23C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B23C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23C27
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23C27#FFFFFF#000000##FFFFFF
##B23C271.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5424
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#C41A38
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23c27;
/* rgb */ color: rgb(178, 60, 39);
/* oklch */ color: oklch(52.2% 0.157 32.4);
Tailwind
colors: {
  custom: {
    50: '#d17863',
    500: '#b23c27',
    950: '#000000',
  },
}
SCSS
$custom: #b23c27;
$custom-light: #d17863;
$custom-dark: #000000;
JSON
{
  "hex": "#b23c27",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 39
  },
  "hsl": {
    "h": 9.065,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.15732,
    "h": 32.4
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#B23C27
secondary
#6DBAC8
accent
#CEE741
background
#FEF7F5
surface
#FCEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23C27

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

Preview Lab → · Contrast checker → · Palette generator →

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