#B23942#B23942

#B23942 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.3% C 0.156 H 20.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B23942
RGBrgb(178, 57, 66)
HSLhsl(356, 51%, 46%)
HSVhsv(356, 68%, 70%)
CMYKcmyk(0%, 68%, 62.9%, 30.2%)
CIE-LABlab(42.44, 49.45, 22.49)
CIE-LCHlch(42.44, 54.32, 24.46°)
OKLaboklab(52.3% 0.1466 0.0541)
OKLCHoklch(52.3% 0.156 20.3)
XYZxyz(20.8087, 12.7875, 6.5257)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23942 #39B2A9
analogous
#B2397E #B23942 #B26C39
triadic
#B23942 #42B239 #3942B2
tetradic
#B23942 #7EB239 #39B2A9 #6C39B2
square
#B23942 #7EB239 #39B2A9 #6C39B2
split-complementary
#B23942 #39B26C #397EB2
monochromatic
#551B20 #842A31 #B23942 #CB5D65 #DA8B91

Accessibility & contrast

On white

5.90
#B23942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B23942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23942
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23942#FFFFFF#000000##FFFFFF
##B239421.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C31B3D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23942;
/* rgb */ color: rgb(178, 57, 66);
/* oklch */ color: oklch(52.3% 0.156 20.3);
Tailwind
colors: {
  custom: {
    50: '#d07776',
    500: '#b23942',
    950: '#000000',
  },
}
SCSS
$custom: #b23942;
$custom-light: #d07776;
$custom-dark: #000000;
JSON
{
  "hex": "#b23942",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 66
  },
  "hsl": {
    "h": 355.537,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.1563,
    "h": 20.3
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#B23942
secondary
#82C4C0
accent
#DBD04D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23942

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

Preview Lab → · Contrast checker → · Palette generator →

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