#B23135#B23135

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

Color values

HEX#B23135
RGBrgb(178, 49, 53)
HSLhsl(358, 57%, 45%)
HSVhsv(358, 72%, 70%)
CMYKcmyk(0%, 72.5%, 70.2%, 30.2%)
CIE-LABlab(41.09, 51.82, 28.73)
CIE-LCHlch(41.09, 59.25, 29.00°)
OKLaboklab(51.22% 0.1515 0.0664)
OKLCHoklch(51.22% 0.165 23.7)
XYZxyz(20.1032, 11.9217, 4.6100)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23135 #31B2AE
analogous
#B23175 #B23135 #B26E31
triadic
#B23135 #35B231 #3135B2
tetradic
#B23135 #75B231 #31B2AE #6E31B2
square
#B23135 #75B231 #31B2AE #6E31B2
split-complementary
#B23135 #31B26E #3175B2
monochromatic
#521718 #822427 #B23135 #CF5155 #DC8184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23135#FFFFFF#000000##FFFFFF
##B231351.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)
#564F34
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23135;
/* rgb */ color: rgb(178, 49, 53);
/* oklch */ color: oklch(51.2% 0.165 23.7);
Tailwind
colors: {
  custom: {
    50: '#d1736c',
    500: '#b23135',
    950: '#000000',
  },
}
SCSS
$custom: #b23135;
$custom-light: #d1736c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23135",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 53
  },
  "hsl": {
    "h": 358.14,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.16543,
    "h": 23.7
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#B23135
secondary
#79C5C3
accent
#E0DB48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23135

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

Preview Lab → · Contrast checker → · Palette generator →

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