#B53271#B53271

#B53271 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.176 H 355.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B53271
RGBrgb(181, 50, 113)
HSLhsl(331, 57%, 45%)
HSVhsv(331, 72%, 71%)
CMYKcmyk(0%, 72.4%, 37.6%, 29%)
CIE-LABlab(43.21, 57.16, -5.53)
CIE-LCHlch(43.21, 57.43, 354.47°)
OKLaboklab(53.36% 0.1753 -0.0139)
OKLCHoklch(53.36% 0.176 355.5)
XYZxyz(23.1788, 13.3000, 16.9661)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53271 #32B576
analogous
#B532B2 #B53271 #B53432
triadic
#B53271 #71B532 #3271B5
tetradic
#B53271 #B2B532 #32B576 #3432B5
square
#B53271 #B2B532 #32B576 #3432B5
split-complementary
#B53271 #32B534 #32B2B5
monochromatic
#551835 #852553 #B53271 #D05490 #DD84AF

Accessibility & contrast

On white

5.74
#B53271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B53271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53271
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53271#FFFFFF#000000##FFFFFF
##B532711.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#6F6F6E
Tritanopia (blue-blind)
#C3244D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b53271;
/* rgb */ color: rgb(181, 50, 113);
/* oklch */ color: oklch(53.4% 0.176 355.5);
Tailwind
colors: {
  custom: {
    50: '#d07599',
    500: '#b53271',
    950: '#000000',
  },
}
SCSS
$custom: #b53271;
$custom-light: #d07599;
$custom-dark: #000000;
JSON
{
  "hex": "#b53271",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 331.145,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.17585,
    "h": 355.5
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#B53271
secondary
#7CC7A3
accent
#E09748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B53271

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

Preview Lab → · Contrast checker → · Palette generator →

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