#B45871#B45871

#B45871 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 57.9% C 0.122 H 4.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B45871
RGBrgb(180, 88, 113)
HSLhsl(344, 38%, 53%)
HSVhsv(344, 51%, 71%)
CMYKcmyk(0%, 51.1%, 37.2%, 29.4%)
CIE-LABlab(49.35, 39.94, 3.44)
CIE-LCHlch(49.35, 40.09, 4.92°)
OKLaboklab(57.9% 0.1214 0.0094)
OKLCHoklch(57.9% 0.122 4.4)
XYZxyz(25.2941, 17.8774, 17.7382)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45871 #58B49B
analogous
#B4589F #B45871 #B46D58
triadic
#B45871 #71B458 #5871B4
tetradic
#B45871 #9FB458 #58B49B #6D58B4
square
#B45871 #9FB458 #58B49B #6D58B4
split-complementary
#B45871 #58B46D #589FB4
monochromatic
#642D3C #8F4055 #B45871 #C78295 #DAACB9

Accessibility & contrast

On white

4.59
#B45871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B45871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B45871
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45871#FFFFFF#000000##FFFFFF
##B458711.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686A72
Deuteranopia (green-blind)
#7F7C6F
Tritanopia (blue-blind)
#C15061
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b45871;
/* rgb */ color: rgb(180, 88, 113);
/* oklch */ color: oklch(57.9% 0.122 4.4);
Tailwind
colors: {
  custom: {
    50: '#cd8a99',
    500: '#b45871',
    950: '#000000',
  },
}
SCSS
$custom: #b45871;
$custom-light: #cd8a99;
$custom-dark: #000000;
JSON
{
  "hex": "#b45871",
  "rgb": {
    "r": 180,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 343.696,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.12176,
    "h": 4.4
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#B45871
secondary
#A0C8BD
accent
#CEAE5A
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #B45871

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

Preview Lab → · Contrast checker → · Palette generator →

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