#B42747#B42747

#B42747 is a mid, vivid red. Relative luminance 0.116; OKLCH L 51.0% C 0.176 H 13.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B42747
RGBrgb(180, 39, 71)
HSLhsl(346, 64%, 43%)
HSVhsv(346, 78%, 71%)
CMYKcmyk(0%, 78.3%, 60.6%, 29.4%)
CIE-LABlab(40.59, 56.83, 17.03)
CIE-LCHlch(40.59, 59.32, 16.68°)
OKLaboklab(51.02% 0.171 0.0418)
OKLCHoklch(51.02% 0.176 13.7)
XYZxyz(20.6874, 11.6123, 7.1121)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42747 #27B494
analogous
#B4278D #B42747 #B44D27
triadic
#B42747 #47B427 #2747B4
tetradic
#B42747 #8DB427 #27B494 #4D27B4
square
#B42747 #8DB427 #27B494 #4D27B4
split-complementary
#B42747 #27B44D #278DB4
monochromatic
#4F111F #821C33 #B42747 #D64264 #E1748D

Accessibility & contrast

On white

6.32
#B42747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B42747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42747
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42747#FFFFFF#000000##FFFFFF
##B427471.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42747;
/* rgb */ color: rgb(180, 39, 71);
/* oklch */ color: oklch(51.0% 0.176 13.7);
Tailwind
colors: {
  custom: {
    50: '#d26f79',
    500: '#b42747',
    950: '#000000',
  },
}
SCSS
$custom: #b42747;
$custom-light: #d26f79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42747",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 346.383,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.176,
    "h": 13.7
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#B42747
secondary
#6FC8B4
accent
#E7C140
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42747

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

Preview Lab → · Contrast checker → · Palette generator →

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