#B23A27#B23A27

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

Color values

HEX#B23A27
RGBrgb(178, 58, 39)
HSLhsl(8, 64%, 43%)
HSVhsv(8, 78%, 70%)
CMYKcmyk(0%, 67.4%, 78.1%, 30.2%)
CIE-LABlab(42.22, 47.65, 38.06)
CIE-LCHlch(42.22, 60.99, 38.61°)
OKLaboklab(52.01% 0.1355 0.0836)
OKLCHoklch(52.01% 0.159 31.7)
XYZxyz(20.2416, 12.6406, 3.2931)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A27 #279FB2
analogous
#B2275A #B23A27 #B27F27
triadic
#B23A27 #27B23A #3A27B2
tetradic
#B23A27 #5AB227 #279FB2 #7F27B2
square
#B23A27 #5AB227 #279FB2 #7F27B2
split-complementary
#B23A27 #27B27F #275AB2
monochromatic
#4E1911 #802A1C #B23A27 #D55541 #E08273

Accessibility & contrast

On white

5.95
#B23A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B23A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A27
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A27#FFFFFF#000000##FFFFFF
##B23A271.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5324
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#C41536
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23a27;
/* rgb */ color: rgb(178, 58, 39);
/* oklch */ color: oklch(52.0% 0.159 31.7);
Tailwind
colors: {
  custom: {
    50: '#d17762',
    500: '#b23a27',
    950: '#000000',
  },
}
SCSS
$custom: #b23a27;
$custom-light: #d17762;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a27",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 39
  },
  "hsl": {
    "h": 8.201,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.15918,
    "h": 31.7
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#B23A27
secondary
#6DBBC8
accent
#D0E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23A27

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

Preview Lab → · Contrast checker → · Palette generator →

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