#B23A34#B23A34

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

Color values

HEX#B23A34
RGBrgb(178, 58, 52)
HSLhsl(3, 55%, 45%)
HSVhsv(3, 71%, 70%)
CMYKcmyk(0%, 67.4%, 70.8%, 30.2%)
CIE-LABlab(42.37, 48.23, 30.84)
CIE-LCHlch(42.37, 57.25, 32.60°)
OKLaboklab(52.17% 0.1399 0.0709)
OKLCHoklch(52.17% 0.157 26.9)
XYZxyz(20.4952, 12.7420, 4.6284)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A34 #34ACB2
analogous
#B2346D #B23A34 #B27934
triadic
#B23A34 #34B23A #3A34B2
tetradic
#B23A34 #6DB234 #34ACB2 #7934B2
square
#B23A34 #6DB234 #34ACB2 #7934B2
split-complementary
#B23A34 #34B279 #346DB2
monochromatic
#531B18 #832B26 #B23A34 #CE5B56 #DB8985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23A34#FFFFFF#000000##FFFFFF
##B23A341.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)
#5B5432
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#C4193A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23a34;
/* rgb */ color: rgb(178, 58, 52);
/* oklch */ color: oklch(52.2% 0.157 26.9);
Tailwind
colors: {
  custom: {
    50: '#d1776c',
    500: '#b23a34',
    950: '#000000',
  },
}
SCSS
$custom: #b23a34;
$custom-light: #d1776c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a34",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 52
  },
  "hsl": {
    "h": 2.857,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.15686,
    "h": 26.9
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#B23A34
secondary
#7DC2C5
accent
#D7DE4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23A34

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

Preview Lab → · Contrast checker → · Palette generator →

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