#B42847#B42847

#B42847 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.1% C 0.175 H 13.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B42847
RGBrgb(180, 40, 71)
HSLhsl(347, 64%, 43%)
HSVhsv(347, 78%, 71%)
CMYKcmyk(0%, 77.8%, 60.6%, 29.4%)
CIE-LABlab(40.70, 56.52, 17.17)
CIE-LCHlch(40.70, 59.07, 16.90°)
OKLaboklab(51.1% 0.17 0.0422)
OKLCHoklch(51.1% 0.175 13.9)
XYZxyz(20.7206, 11.6789, 7.1232)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42847 #28B495
analogous
#B4288D #B42847 #B44F28
triadic
#B42847 #47B428 #2847B4
tetradic
#B42847 #8DB428 #28B495 #4F28B4
square
#B42847 #8DB428 #28B495 #4F28B4
split-complementary
#B42847 #28B44F #288DB4
monochromatic
#50121F #821D33 #B42847 #D54464 #E1768D

Accessibility & contrast

On white

6.30
#B42847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B42847 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42847
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42847#FFFFFF#000000##FFFFFF
##B428471.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E47
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#C50035
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42847;
/* rgb */ color: rgb(180, 40, 71);
/* oklch */ color: oklch(51.1% 0.175 13.9);
Tailwind
colors: {
  custom: {
    50: '#d26f79',
    500: '#b42847',
    950: '#000000',
  },
}
SCSS
$custom: #b42847;
$custom-light: #d26f79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42847",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 346.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.17513,
    "h": 13.9
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#B42847
secondary
#70C8B4
accent
#E7C241
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42847

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

Preview Lab → · Contrast checker → · Palette generator →

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