#B42947#B42947

#B42947 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.2% C 0.174 H 14.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B42947
RGBrgb(180, 41, 71)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 77%, 71%)
CMYKcmyk(0%, 77.2%, 60.6%, 29.4%)
CIE-LABlab(40.81, 56.21, 17.32)
CIE-LCHlch(40.81, 58.82, 17.12°)
OKLaboklab(51.18% 0.169 0.0425)
OKLCHoklch(51.18% 0.174 14.1)
XYZxyz(20.7548, 11.7472, 7.1346)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42947 #29B496
analogous
#B4298C #B42947 #B45029
triadic
#B42947 #47B429 #2947B4
tetradic
#B42947 #8CB429 #29B496 #5029B4
square
#B42947 #8CB429 #29B496 #5029B4
split-complementary
#B42947 #29B450 #298CB4
monochromatic
#501220 #821E33 #B42947 #D54564 #E0778E

Accessibility & contrast

On white

6.27
#B42947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42947
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42947#FFFFFF#000000##FFFFFF
##B429471.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E47
Deuteranopia (green-blind)
#736B43
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42947;
/* rgb */ color: rgb(180, 41, 71);
/* oklch */ color: oklch(51.2% 0.174 14.1);
Tailwind
colors: {
  custom: {
    50: '#d27079',
    500: '#b42947',
    950: '#000000',
  },
}
SCSS
$custom: #b42947;
$custom-light: #d27079;
$custom-dark: #000000;
JSON
{
  "hex": "#b42947",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 347.05,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.17425,
    "h": 14.1
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#B42947
secondary
#71C8B5
accent
#E6C342
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42947

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

Preview Lab → · Contrast checker → · Palette generator →

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