#B23A2F#B23A2F

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

Color values

HEX#B23A2F
RGBrgb(178, 58, 47)
HSLhsl(5, 58%, 44%)
HSVhsv(5, 74%, 70%)
CMYKcmyk(0%, 67.4%, 73.6%, 30.2%)
CIE-LABlab(42.31, 47.99, 33.68)
CIE-LCHlch(42.31, 58.62, 35.06°)
OKLaboklab(52.1% 0.1381 0.0761)
OKLCHoklch(52.1% 0.158 28.8)
XYZxyz(20.3885, 12.6993, 4.0664)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A2F #2FA7B2
analogous
#B22F66 #B23A2F #B27C2F
triadic
#B23A2F #2FB23A #3A2FB2
tetradic
#B23A2F #66B22F #2FA7B2 #7C2FB2
square
#B23A2F #66B22F #2FA7B2 #7C2FB2
split-complementary
#B23A2F #2FB27C #2F66B2
monochromatic
#511A15 #822A22 #B23A2F #D0594E #DD867E

Accessibility & contrast

On white

5.93
#B23A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23A2F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A2F#FFFFFF#000000##FFFFFF
##B23A2F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23a2f;
/* rgb */ color: rgb(178, 58, 47);
/* oklch */ color: oklch(52.1% 0.158 28.8);
Tailwind
colors: {
  custom: {
    50: '#d17768',
    500: '#b23a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b23a2f;
$custom-light: #d17768;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a2f",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 5.038,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.1577,
    "h": 28.8
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#B23A2F
secondary
#77BFC6
accent
#D4E146
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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