#B23C2A#B23C2A

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

Color values

HEX#B23C2A
RGBrgb(178, 60, 42)
HSLhsl(8, 62%, 43%)
HSVhsv(8, 76%, 70%)
CMYKcmyk(0%, 66.3%, 76.4%, 30.2%)
CIE-LABlab(42.56, 46.92, 36.78)
CIE-LCHlch(42.56, 59.62, 38.09°)
OKLaboklab(52.28% 0.1338 0.0816)
OKLCHoklch(52.28% 0.157 31.4)
XYZxyz(20.3961, 12.8668, 3.5996)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23C2A #2AA0B2
analogous
#B22A5C #B23C2A #B2802A
triadic
#B23C2A #2AB23C #3C2AB2
tetradic
#B23C2A #5CB22A #2AA0B2 #802AB2
square
#B23C2A #5CB22A #2AA0B2 #802AB2
split-complementary
#B23C2A #2AB280 #2A5CB2
monochromatic
#4F1B13 #802B1E #B23C2A #D35946 #DF8577

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23C2A#FFFFFF#000000##FFFFFF
##B23C2A1.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)
#5D5427
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#C41A39
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23c2a;
/* rgb */ color: rgb(178, 60, 42);
/* oklch */ color: oklch(52.3% 0.157 31.4);
Tailwind
colors: {
  custom: {
    50: '#d17865',
    500: '#b23c2a',
    950: '#000000',
  },
}
SCSS
$custom: #b23c2a;
$custom-light: #d17865;
$custom-dark: #000000;
JSON
{
  "hex": "#b23c2a",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 42
  },
  "hsl": {
    "h": 7.941,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.15672,
    "h": 31.4
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#B23C2A
secondary
#71BBC7
accent
#CFE543
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B23C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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