#B23A2E#B23A2E

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

Color values

HEX#B23A2E
RGBrgb(178, 58, 46)
HSLhsl(5, 59%, 44%)
HSVhsv(5, 74%, 70%)
CMYKcmyk(0%, 67.4%, 74.2%, 30.2%)
CIE-LABlab(42.29, 47.94, 34.24)
CIE-LCHlch(42.29, 58.91, 35.53°)
OKLaboklab(52.09% 0.1378 0.077)
OKLCHoklch(52.09% 0.158 29.2)
XYZxyz(20.3685, 12.6913, 3.9614)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A2E #2EA6B2
analogous
#B22E64 #B23A2E #B27C2E
triadic
#B23A2E #2EB23A #3A2EB2
tetradic
#B23A2E #64B22E #2EA6B2 #7C2EB2
square
#B23A2E #64B22E #2EA6B2 #7C2EB2
split-complementary
#B23A2E #2EB27C #2E64B2
monochromatic
#511A15 #812A21 #B23A2E #D1584C #DD867D

Accessibility & contrast

On white

5.94
#B23A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B23A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A2E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A2E#FFFFFF#000000##FFFFFF
##B23A2E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532C
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#C41738
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23a2e;
/* rgb */ color: rgb(178, 58, 46);
/* oklch */ color: oklch(52.1% 0.158 29.2);
Tailwind
colors: {
  custom: {
    50: '#d17767',
    500: '#b23a2e',
    950: '#000000',
  },
}
SCSS
$custom: #b23a2e;
$custom-light: #d17767;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a2e",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 46
  },
  "hsl": {
    "h": 5.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.15788,
    "h": 29.2
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#B23A2E
secondary
#76BFC6
accent
#D4E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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