#B43271#B43271

#B43271 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.175 H 355.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B43271
RGBrgb(180, 50, 113)
HSLhsl(331, 57%, 45%)
HSVhsv(331, 72%, 71%)
CMYKcmyk(0%, 72.2%, 37.2%, 29.4%)
CIE-LABlab(43.03, 56.88, -5.82)
CIE-LCHlch(43.03, 57.18, 354.16°)
OKLaboklab(53.19% 0.1744 -0.0146)
OKLCHoklch(53.19% 0.175 355.2)
XYZxyz(22.9451, 13.1795, 16.9552)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B43271 #32B475
analogous
#B432B2 #B43271 #B43432
triadic
#B43271 #71B432 #3271B4
tetradic
#B43271 #B2B432 #32B475 #3432B4
square
#B43271 #B2B432 #32B475 #3432B4
split-complementary
#B43271 #32B434 #32B2B4
monochromatic
#541735 #842553 #B43271 #CF5490 #DD84AF

Accessibility & contrast

On white

5.78
#B43271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B43271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B43271
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B43271#FFFFFF#000000##FFFFFF
##B432711.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6F6E6E
Tritanopia (blue-blind)
#C2254D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b43271;
/* rgb */ color: rgb(180, 50, 113);
/* oklch */ color: oklch(53.2% 0.175 355.2);
Tailwind
colors: {
  custom: {
    50: '#cf7599',
    500: '#b43271',
    950: '#000000',
  },
}
SCSS
$custom: #b43271;
$custom-light: #cf7599;
$custom-dark: #000000;
JSON
{
  "hex": "#b43271",
  "rgb": {
    "r": 180,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 330.923,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.17502,
    "h": 355.2
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#B43271
secondary
#7CC6A2
accent
#E09648
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B43271

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

Preview Lab → · Contrast checker → · Palette generator →

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