#B23D27#B23D27

#B23D27 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.4% C 0.156 H 32.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B23D27
RGBrgb(178, 61, 39)
HSLhsl(9, 64%, 43%)
HSVhsv(9, 78%, 70%)
CMYKcmyk(0%, 65.7%, 78.1%, 30.2%)
CIE-LABlab(42.69, 46.37, 38.55)
CIE-LCHlch(42.69, 60.31, 39.74°)
OKLaboklab(52.36% 0.1315 0.0846)
OKLCHoklch(52.36% 0.156 32.8)
XYZxyz(20.3973, 12.9519, 3.3450)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23D27 #279CB2
analogous
#B22757 #B23D27 #B28227
triadic
#B23D27 #27B23D #3D27B2
tetradic
#B23D27 #57B227 #279CB2 #8227B2
square
#B23D27 #57B227 #279CB2 #8227B2
split-complementary
#B23D27 #27B282 #2757B2
monochromatic
#4E1B11 #802C1C #B23D27 #D55841 #E08473

Accessibility & contrast

On white

5.85
#B23D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B23D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23D27
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23D27#FFFFFF#000000##FFFFFF
##B23D271.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23d27;
/* rgb */ color: rgb(178, 61, 39);
/* oklch */ color: oklch(52.4% 0.156 32.8);
Tailwind
colors: {
  custom: {
    50: '#d17863',
    500: '#b23d27',
    950: '#000000',
  },
}
SCSS
$custom: #b23d27;
$custom-light: #d17863;
$custom-dark: #000000;
JSON
{
  "hex": "#b23d27",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 39
  },
  "hsl": {
    "h": 9.496,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.15637,
    "h": 32.8
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#B23D27
secondary
#6DB9C8
accent
#CDE741
background
#FEF7F5
surface
#FCEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23D27

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

Preview Lab → · Contrast checker → · Palette generator →

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