#B82871#B82871

#B82871 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 355.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B82871
RGBrgb(184, 40, 113)
HSLhsl(330, 64%, 44%)
HSVhsv(330, 78%, 72%)
CMYKcmyk(0%, 78.3%, 38.6%, 27.8%)
CIE-LABlab(42.62, 61.20, -6.36)
CIE-LCHlch(42.62, 61.53, 354.07°)
OKLaboklab(53.02% 0.1881 -0.016)
OKLCHoklch(53.02% 0.189 355.1)
XYZxyz(23.5082, 12.9032, 16.8722)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82871 #28B86F
analogous
#B728B8 #B82871 #B82829
triadic
#B82871 #71B828 #2871B8
tetradic
#B82871 #B8B728 #28B86F #2829B8
square
#B82871 #B8B728 #28B86F #2829B8
split-complementary
#B82871 #29B828 #28B8B7
monochromatic
#531233 #861D52 #B82871 #D74690 #E279AE

Accessibility & contrast

On white

5.87
#B82871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B82871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82871
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82871#FFFFFF#000000##FFFFFF
##B828711.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#C71349
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b82871;
/* rgb */ color: rgb(184, 40, 113);
/* oklch */ color: oklch(53.0% 0.189 355.1);
Tailwind
colors: {
  custom: {
    50: '#d27199',
    500: '#b82871',
    950: '#000000',
  },
}
SCSS
$custom: #b82871;
$custom-light: #d27199;
$custom-dark: #000000;
JSON
{
  "hex": "#b82871",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 329.583,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.18881,
    "h": 355.1
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#B82871
secondary
#72CA9D
accent
#E79341
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B82871

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

Preview Lab → · Contrast checker → · Palette generator →

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