#B42F47#B42F47

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

Color values

HEX#B42F47
RGBrgb(180, 47, 71)
HSLhsl(349, 59%, 45%)
HSVhsv(349, 74%, 71%)
CMYKcmyk(0%, 73.9%, 60.6%, 29.4%)
CIE-LABlab(41.52, 54.22, 18.27)
CIE-LCHlch(41.52, 57.22, 18.62°)
OKLaboklab(51.71% 0.1626 0.0447)
OKLCHoklch(51.71% 0.169 15.4)
XYZxyz(20.9783, 12.1943, 7.2091)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F47 #2FB49C
analogous
#B42F8A #B42F47 #B45A2F
triadic
#B42F47 #47B42F #2F47B4
tetradic
#B42F47 #8AB42F #2FB49C #5A2FB4
square
#B42F47 #8AB42F #2FB49C #5A2FB4
split-complementary
#B42F47 #2FB45A #2F8AB4
monochromatic
#531621 #832234 #B42F47 #D14F67 #DE8091

Accessibility & contrast

On white

6.11
#B42F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B42F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F47
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F47#FFFFFF#000000##FFFFFF
##B42F471.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535047
Deuteranopia (green-blind)
#756C43
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42f47;
/* rgb */ color: rgb(180, 47, 71);
/* oklch */ color: oklch(51.7% 0.169 15.4);
Tailwind
colors: {
  custom: {
    50: '#d1727a',
    500: '#b42f47',
    950: '#000000',
  },
}
SCSS
$custom: #b42f47;
$custom-light: #d1727a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f47",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 71
  },
  "hsl": {
    "h": 349.173,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.16862,
    "h": 15.4
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#B42F47
secondary
#78C7B8
accent
#E2C646
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #B42F47

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

Preview Lab → · Contrast checker → · Palette generator →

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