#B23535#B23535

#B23535 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.162 H 24.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B23535
RGBrgb(178, 53, 53)
HSLhsl(0, 54%, 45%)
HSVhsv(0, 70%, 70%)
CMYKcmyk(0%, 70.2%, 70.2%, 30.2%)
CIE-LABlab(41.64, 50.30, 29.39)
CIE-LCHlch(41.64, 58.26, 30.29°)
OKLaboklab(51.63% 0.1467 0.0678)
OKLCHoklch(51.63% 0.162 24.8)
XYZxyz(20.2780, 12.2712, 4.6683)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23535 #35B2B2
analogous
#B23573 #B23535 #B27335
triadic
#B23535 #35B235 #3535B2
tetradic
#B23535 #73B235 #35B2B2 #7335B2
square
#B23535 #73B235 #35B2B2 #7335B2
split-complementary
#B23535 #35B273 #3573B2
monochromatic
#541919 #832727 #B23535 #CD5757 #DB8686

Accessibility & contrast

On white

6.08
#B23535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B23535 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23535
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23535#FFFFFF#000000##FFFFFF
##B235351.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585134
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#C40B36
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23535;
/* rgb */ color: rgb(178, 53, 53);
/* oklch */ color: oklch(51.6% 0.162 24.8);
Tailwind
colors: {
  custom: {
    50: '#d1746c',
    500: '#b23535',
    950: '#000000',
  },
}
SCSS
$custom: #b23535;
$custom-light: #d1746c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23535",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 53
  },
  "hsl": {
    "h": 0,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.16163,
    "h": 24.8
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#B23535
secondary
#7EC5C5
accent
#DDDD4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23535

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

Preview Lab → · Contrast checker → · Palette generator →

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