#B42242#B42242

#B42242 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.180 H 15.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B42242
RGBrgb(180, 34, 66)
HSLhsl(347, 68%, 42%)
HSVhsv(347, 81%, 71%)
CMYKcmyk(0%, 81.1%, 63.3%, 29.4%)
CIE-LABlab(39.99, 57.94, 19.38)
CIE-LCHlch(39.99, 61.09, 18.49°)
OKLaboklab(50.54% 0.1736 0.0469)
OKLCHoklch(50.54% 0.18 15.1)
XYZxyz(20.3800, 11.2438, 6.2504)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42242 #22B494
analogous
#B4228B #B42242 #B44B22
triadic
#B42242 #42B422 #2242B4
tetradic
#B42242 #8BB422 #22B494 #4B22B4
square
#B42242 #8BB422 #22B494 #4B22B4
split-complementary
#B42242 #22B44B #228BB4
monochromatic
#4D0F1C #81182F #B42242 #DA3A5D #E36D87

Accessibility & contrast

On white

6.47
#B42242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B42242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42242
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42242#FFFFFF#000000##FFFFFF
##B422421.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42242;
/* rgb */ color: rgb(180, 34, 66);
/* oklch */ color: oklch(50.5% 0.180 15.1);
Tailwind
colors: {
  custom: {
    50: '#d26d76',
    500: '#b42242',
    950: '#000000',
  },
}
SCSS
$custom: #b42242;
$custom-light: #d26d76;
$custom-dark: #000000;
JSON
{
  "hex": "#b42242",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 346.849,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.17979,
    "h": 15.1
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#B42242
secondary
#68CAB4
accent
#EBC53D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B42242

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

Preview Lab → · Contrast checker → · Palette generator →

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