#B23D1F#B23D1F

#B23D1F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.3% C 0.158 H 35.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B23D1F
RGBrgb(178, 61, 31)
HSLhsl(12, 70%, 41%)
HSVhsv(12, 83%, 70%)
CMYKcmyk(0%, 65.7%, 82.6%, 30.2%)
CIE-LABlab(42.62, 46.10, 42.61)
CIE-LCHlch(42.62, 62.78, 42.74°)
OKLaboklab(52.29% 0.1292 0.0909)
OKLCHoklch(52.29% 0.158 35.1)
XYZxyz(20.2785, 12.9044, 2.7191)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23D1F #1F94B2
analogous
#B21F4A #B23D1F #B2861F
triadic
#B23D1F #1FB23D #3D1FB2
tetradic
#B23D1F #4AB21F #1F94B2 #861FB2
square
#B23D1F #4AB21F #1F94B2 #861FB2
split-complementary
#B23D1F #1FB286 #1F4AB2
monochromatic
#4A190D #7E2B16 #B23D1F #DB5533 #E58167

Accessibility & contrast

On white

5.87
#B23D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B23D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23D1F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23D1F#FFFFFF#000000##FFFFFF
##B23D1F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541A
Deuteranopia (green-blind)
#7C6E19
Tritanopia (blue-blind)
#C41A37
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23d1f;
/* rgb */ color: rgb(178, 61, 31);
/* oklch */ color: oklch(52.3% 0.158 35.1);
Tailwind
colors: {
  custom: {
    50: '#d2785d',
    500: '#b23d1f',
    950: '#000000',
  },
}
SCSS
$custom: #b23d1f;
$custom-light: #d2785d;
$custom-dark: #000000;
JSON
{
  "hex": "#b23d1f",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 31
  },
  "hsl": {
    "h": 12.245,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.158,
    "h": 35.1
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#B23D1F
secondary
#63B5CA
accent
#C9ED3B
background
#FEF7F5
surface
#FCEEE9
border
#D5C9C5
text
#160904
muted
#847B79

Preview Lab

Preview with #B23D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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