#B23134#B23134

#B23134 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.166 H 24.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B23134
RGBrgb(178, 49, 52)
HSLhsl(359, 57%, 45%)
HSVhsv(359, 72%, 70%)
CMYKcmyk(0%, 72.5%, 70.8%, 30.2%)
CIE-LABlab(41.08, 51.77, 29.31)
CIE-LCHlch(41.08, 59.49, 29.52°)
OKLaboklab(51.2% 0.1511 0.0675)
OKLCHoklch(51.2% 0.166 24.1)
XYZxyz(20.0805, 11.9125, 4.4902)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23134 #31B2AF
analogous
#B23174 #B23134 #B26F31
triadic
#B23134 #34B231 #3134B2
tetradic
#B23134 #74B231 #31B2AF #6F31B2
square
#B23134 #74B231 #31B2AF #6F31B2
split-complementary
#B23134 #31B26F #3174B2
monochromatic
#521718 #822426 #B23134 #CF5154 #DC8183

Accessibility & contrast

On white

6.21
#B23134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B23134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23134
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23134#FFFFFF#000000##FFFFFF
##B231341.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F33
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23134;
/* rgb */ color: rgb(178, 49, 52);
/* oklch */ color: oklch(51.2% 0.166 24.1);
Tailwind
colors: {
  custom: {
    50: '#d1726b',
    500: '#b23134',
    950: '#000000',
  },
}
SCSS
$custom: #b23134;
$custom-light: #d1726b;
$custom-dark: #000000;
JSON
{
  "hex": "#b23134",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 52
  },
  "hsl": {
    "h": 358.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.16553,
    "h": 24.1
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#B23134
secondary
#79C5C4
accent
#E0DD48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23134

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

Preview Lab → · Contrast checker → · Palette generator →

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