#B42547#B42547

#B42547 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.9% C 0.178 H 13.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B42547
RGBrgb(180, 37, 71)
HSLhsl(346, 66%, 43%)
HSVhsv(346, 79%, 71%)
CMYKcmyk(0%, 79.4%, 60.6%, 29.4%)
CIE-LABlab(40.38, 57.42, 16.75)
CIE-LCHlch(40.38, 59.81, 16.26°)
OKLaboklab(50.87% 0.1729 0.0412)
OKLCHoklch(50.87% 0.178 13.4)
XYZxyz(20.6234, 11.4844, 7.0908)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42547 #25B492
analogous
#B4258F #B42547 #B44A25
triadic
#B42547 #47B425 #2547B4
tetradic
#B42547 #8FB425 #25B492 #4A25B4
square
#B42547 #8FB425 #25B492 #4A25B4
split-complementary
#B42547 #25B44A #258FB4
monochromatic
#4E101F #811B33 #B42547 #D73F63 #E2718C

Accessibility & contrast

On white

6.37
#B42547 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B42547 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42547
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42547#FFFFFF#000000##FFFFFF
##B425471.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C47
Deuteranopia (green-blind)
#726A43
Tritanopia (blue-blind)
#C50034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42547;
/* rgb */ color: rgb(180, 37, 71);
/* oklch */ color: oklch(50.9% 0.178 13.4);
Tailwind
colors: {
  custom: {
    50: '#d26e79',
    500: '#b42547',
    950: '#000000',
  },
}
SCSS
$custom: #b42547;
$custom-light: #d26e79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42547",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 345.734,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.17769,
    "h": 13.4
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#B42547
secondary
#6CC9B3
accent
#E9C03F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42547

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

Preview Lab → · Contrast checker → · Palette generator →

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