#B23938#B23938

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

Color values

HEX#B23938
RGBrgb(178, 57, 56)
HSLhsl(0, 52%, 46%)
HSVhsv(0, 69%, 70%)
CMYKcmyk(0%, 68%, 68.5%, 30.2%)
CIE-LABlab(42.28, 48.85, 28.35)
CIE-LCHlch(42.28, 56.48, 30.13°)
OKLaboklab(52.12% 0.1427 0.0661)
OKLCHoklch(52.12% 0.157 24.8)
XYZxyz(20.5392, 12.6797, 5.1065)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23938 #38B1B2
analogous
#B23874 #B23938 #B27638
triadic
#B23938 #38B239 #3938B2
tetradic
#B23938 #74B238 #38B1B2 #7638B2
square
#B23938 #74B238 #38B1B2 #7638B2
split-complementary
#B23938 #38B276 #3874B2
monochromatic
#551B1B #832A29 #B23938 #CC5D5C #DA8B8A

Accessibility & contrast

On white

5.94
#B23938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B23938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23938
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23938#FFFFFF#000000##FFFFFF
##B239381.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5337
Deuteranopia (green-blind)
#796D34
Tritanopia (blue-blind)
#C3183A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23938;
/* rgb */ color: rgb(178, 57, 56);
/* oklch */ color: oklch(52.1% 0.157 24.8);
Tailwind
colors: {
  custom: {
    50: '#d0776e',
    500: '#b23938',
    950: '#000000',
  },
}
SCSS
$custom: #b23938;
$custom-light: #d0776e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23938",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 56
  },
  "hsl": {
    "h": 0.492,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.15728,
    "h": 24.8
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#B23938
secondary
#81C4C5
accent
#DADC4C
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23938

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

Preview Lab → · Contrast checker → · Palette generator →

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