#B42247#B42247

#B42247 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 12.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B42247
RGBrgb(180, 34, 71)
HSLhsl(345, 68%, 42%)
HSVhsv(345, 81%, 71%)
CMYKcmyk(0%, 81.1%, 60.6%, 29.4%)
CIE-LABlab(40.09, 58.25, 16.35)
CIE-LCHlch(40.09, 60.50, 15.68°)
OKLaboklab(50.65% 0.1756 0.0402)
OKLCHoklch(50.65% 0.18 12.9)
XYZxyz(20.5339, 11.3054, 7.0610)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42247 #22B48F
analogous
#B42290 #B42247 #B44622
triadic
#B42247 #47B422 #2247B4
tetradic
#B42247 #90B422 #22B48F #4622B4
square
#B42247 #90B422 #22B48F #4622B4
split-complementary
#B42247 #22B446 #2290B4
monochromatic
#4D0F1E #811833 #B42247 #DA3A62 #E36D8B

Accessibility & contrast

On white

6.44
#B42247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42247
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42247#FFFFFF#000000##FFFFFF
##B422471.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B47
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42247;
/* rgb */ color: rgb(180, 34, 71);
/* oklch */ color: oklch(50.7% 0.180 12.9);
Tailwind
colors: {
  custom: {
    50: '#d26d79',
    500: '#b42247',
    950: '#000000',
  },
}
SCSS
$custom: #b42247;
$custom-light: #d26d79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42247",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 344.795,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.1801,
    "h": 12.9
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#B42247
secondary
#68CAB1
accent
#EBBF3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42247

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

Preview Lab → · Contrast checker → · Palette generator →

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