#B23935#B23935

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

Color values

HEX#B23935
RGBrgb(178, 57, 53)
HSLhsl(2, 54%, 45%)
HSVhsv(2, 70%, 70%)
CMYKcmyk(0%, 68%, 70.2%, 30.2%)
CIE-LABlab(42.23, 48.69, 30.09)
CIE-LCHlch(42.23, 57.24, 31.71°)
OKLaboklab(52.07% 0.1416 0.0694)
OKLCHoklch(52.07% 0.158 26.1)
XYZxyz(20.4680, 12.6512, 4.7316)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23935 #35AEB2
analogous
#B2356F #B23935 #B27735
triadic
#B23935 #35B239 #3935B2
tetradic
#B23935 #6FB235 #35AEB2 #7735B2
square
#B23935 #6FB235 #35AEB2 #7735B2
split-complementary
#B23935 #35B277 #356FB2
monochromatic
#541B19 #832A27 #B23935 #CD5B57 #DB8986

Accessibility & contrast

On white

5.95
#B23935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B23935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23935
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23935#FFFFFF#000000##FFFFFF
##B239351.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5334
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#C41739
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23935;
/* rgb */ color: rgb(178, 57, 53);
/* oklch */ color: oklch(52.1% 0.158 26.1);
Tailwind
colors: {
  custom: {
    50: '#d1766c',
    500: '#b23935',
    950: '#000000',
  },
}
SCSS
$custom: #b23935;
$custom-light: #d1766c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23935",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 53
  },
  "hsl": {
    "h": 1.92,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.15771,
    "h": 26.1
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#B23935
secondary
#7EC3C5
accent
#D9DD4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23935

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

Preview Lab → · Contrast checker → · Palette generator →

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