#B52247#B52247

#B52247 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.181 H 13.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B52247
RGBrgb(181, 34, 71)
HSLhsl(345, 68%, 42%)
HSVhsv(345, 81%, 71%)
CMYKcmyk(0%, 81.2%, 60.8%, 29%)
CIE-LABlab(40.29, 58.53, 16.66)
CIE-LCHlch(40.29, 60.85, 15.89°)
OKLaboklab(50.83% 0.1763 0.0409)
OKLCHoklch(50.83% 0.181 13.1)
XYZxyz(20.7676, 11.4259, 7.0719)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52247 #22B590
analogous
#B52291 #B52247 #B54722
triadic
#B52247 #47B522 #2247B5
tetradic
#B52247 #91B522 #22B590 #4722B5
square
#B52247 #91B522 #22B590 #4722B5
split-complementary
#B52247 #22B547 #2291B5
monochromatic
#4E0F1F #811833 #B52247 #DA3A62 #E46E8B

Accessibility & contrast

On white

6.39
#B52247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B52247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52247
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52247#FFFFFF#000000##FFFFFF
##B522471.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C47
Deuteranopia (green-blind)
#726A43
Tritanopia (blue-blind)
#C60032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b52247;
/* rgb */ color: rgb(181, 34, 71);
/* oklch */ color: oklch(50.8% 0.181 13.1);
Tailwind
colors: {
  custom: {
    50: '#d36d79',
    500: '#b52247',
    950: '#000000',
  },
}
SCSS
$custom: #b52247;
$custom-light: #d36d79;
$custom-dark: #000000;
JSON
{
  "hex": "#b52247",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 344.898,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.181,
    "h": 13.1
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#B52247
secondary
#69CAB2
accent
#EBBF3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B52247

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

Preview Lab → · Contrast checker → · Palette generator →

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