#B42E4A#B42E4A

#B42E4A is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.7% C 0.170 H 13.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B42E4A
RGBrgb(180, 46, 74)
HSLhsl(347, 59%, 44%)
HSVhsv(347, 74%, 71%)
CMYKcmyk(0%, 74.4%, 58.9%, 29.4%)
CIE-LABlab(41.46, 54.77, 16.31)
CIE-LCHlch(41.46, 57.15, 16.58°)
OKLaboklab(51.69% 0.1649 0.0403)
OKLCHoklch(51.69% 0.17 13.7)
XYZxyz(21.0375, 12.1547, 7.7156)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E4A #2EB498
analogous
#B42E8D #B42E4A #B4552E
triadic
#B42E4A #4AB42E #2E4AB4
tetradic
#B42E4A #8DB42E #2EB498 #552EB4
square
#B42E4A #8DB42E #2EB498 #552EB4
split-complementary
#B42E4A #2EB455 #2E8DB4
monochromatic
#531522 #832236 #B42E4A #D24E69 #DE7E92

Accessibility & contrast

On white

6.12
#B42E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B42E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E4A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E4A#FFFFFF#000000##FFFFFF
##B42E4A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52504A
Deuteranopia (green-blind)
#746C47
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42e4a;
/* rgb */ color: rgb(180, 46, 74);
/* oklch */ color: oklch(51.7% 0.170 13.7);
Tailwind
colors: {
  custom: {
    50: '#d1727c',
    500: '#b42e4a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e4a;
$custom-light: #d1727c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e4a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 347.463,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.16974,
    "h": 13.7
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#B42E4A
secondary
#77C7B6
accent
#E2C245
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B42E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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