#B42342#B42342

#B42342 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.6% C 0.179 H 15.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B42342
RGBrgb(180, 35, 66)
HSLhsl(347, 67%, 42%)
HSVhsv(347, 81%, 71%)
CMYKcmyk(0%, 80.6%, 63.3%, 29.4%)
CIE-LABlab(40.08, 57.67, 19.51)
CIE-LCHlch(40.08, 60.88, 18.69°)
OKLaboklab(50.61% 0.1727 0.0472)
OKLCHoklch(50.61% 0.179 15.3)
XYZxyz(20.4090, 11.3018, 6.2600)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42342 #23B495
analogous
#B4238B #B42342 #B44C23
triadic
#B42342 #42B423 #2342B4
tetradic
#B42342 #8BB423 #23B495 #4C23B4
square
#B42342 #8BB423 #23B495 #4C23B4
split-complementary
#B42342 #23B44C #238BB4
monochromatic
#4E0F1C #81192F #B42342 #D93B5D #E36E87

Accessibility & contrast

On white

6.44
#B42342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42342
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42342#FFFFFF#000000##FFFFFF
##B423421.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42342;
/* rgb */ color: rgb(180, 35, 66);
/* oklch */ color: oklch(50.6% 0.179 15.3);
Tailwind
colors: {
  custom: {
    50: '#d26d76',
    500: '#b42342',
    950: '#000000',
  },
}
SCSS
$custom: #b42342;
$custom-light: #d26d76;
$custom-dark: #000000;
JSON
{
  "hex": "#b42342",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 347.172,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.17903,
    "h": 15.3
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#B42342
secondary
#69C9B5
accent
#EAC53D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B42342

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

Preview Lab → · Contrast checker → · Palette generator →

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