#B71271#B71271

#B71271 is a mid, highly saturated pink. Relative luminance 0.117; OKLCH L 51.6% C 0.204 H 353.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B71271
RGBrgb(183, 18, 113)
HSLhsl(325, 82%, 39%)
HSVhsv(325, 90%, 72%)
CMYKcmyk(0%, 90.2%, 38.3%, 28.2%)
CIE-LABlab(40.73, 65.82, -9.21)
CIE-LCHlch(40.73, 66.47, 352.04°)
OKLaboklab(51.62% 0.2029 -0.0236)
OKLCHoklch(51.62% 0.204 353.4)
XYZxyz(22.7270, 11.6952, 16.6802)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B71271 #12B758
analogous
#AB12B7 #B71271 #B7121E
triadic
#B71271 #71B712 #1271B7
tetradic
#B71271 #B7AB12 #12B758 #121EB7
square
#B71271 #B7AB12 #12B758 #121EB7
split-complementary
#B71271 #1EB712 #12B7AB
monochromatic
#48072C #7F0D4F #B71271 #E91D93 #EE55AD

Accessibility & contrast

On white

6.29
#B71271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B71271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B71271
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B71271#FFFFFF#000000##FFFFFF
##B712711.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#C60043
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b71271;
/* rgb */ color: rgb(183, 18, 113);
/* oklch */ color: oklch(51.6% 0.204 353.4);
Tailwind
colors: {
  custom: {
    50: '#d26b99',
    500: '#b71271',
    950: '#000000',
  },
}
SCSS
$custom: #b71271;
$custom-light: #d26b99;
$custom-dark: #000000;
JSON
{
  "hex": "#b71271",
  "rgb": {
    "r": 183,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 325.455,
    "s": 82.09,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.20428,
    "h": 353.4
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#B71271
secondary
#54D189
accent
#F8852F
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B71271

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

Preview Lab → · Contrast checker → · Palette generator →

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