#B23B27#B23B27

#B23B27 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.158 H 32.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B23B27
RGBrgb(178, 59, 39)
HSLhsl(9, 64%, 43%)
HSVhsv(9, 78%, 70%)
CMYKcmyk(0%, 66.9%, 78.1%, 30.2%)
CIE-LABlab(42.37, 47.23, 38.22)
CIE-LCHlch(42.37, 60.76, 38.98°)
OKLaboklab(52.12% 0.1342 0.0839)
OKLCHoklch(52.12% 0.158 32)
XYZxyz(20.2926, 12.7424, 3.3101)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23B27 #279EB2
analogous
#B22759 #B23B27 #B28027
triadic
#B23B27 #27B23B #3B27B2
tetradic
#B23B27 #59B227 #279EB2 #8027B2
square
#B23B27 #59B227 #279EB2 #8027B2
split-complementary
#B23B27 #27B280 #2759B2
monochromatic
#4E1A11 #802A1C #B23B27 #D55641 #E08373

Accessibility & contrast

On white

5.92
#B23B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B23B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23B27
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23B27#FFFFFF#000000##FFFFFF
##B23B271.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23b27;
/* rgb */ color: rgb(178, 59, 39);
/* oklch */ color: oklch(52.1% 0.158 32.0);
Tailwind
colors: {
  custom: {
    50: '#d17762',
    500: '#b23b27',
    950: '#000000',
  },
}
SCSS
$custom: #b23b27;
$custom-light: #d17762;
$custom-dark: #000000;
JSON
{
  "hex": "#b23b27",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 39
  },
  "hsl": {
    "h": 8.633,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.15825,
    "h": 32
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23B27

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

Preview Lab → · Contrast checker → · Palette generator →

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