#B45879#B45879

#B45879 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.1% C 0.124 H 359.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B45879
RGBrgb(180, 88, 121)
HSLhsl(338, 38%, 53%)
HSVhsv(338, 51%, 71%)
CMYKcmyk(0%, 51.1%, 32.8%, 29.4%)
CIE-LABlab(49.58, 40.94, -1.04)
CIE-LCHlch(49.58, 40.95, 358.55°)
OKLaboklab(58.14% 0.1243 -0.0022)
OKLCHoklch(58.14% 0.124 359)
XYZxyz(25.7645, 18.0656, 20.2156)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45879 #58B493
analogous
#B458A7 #B45879 #B46558
triadic
#B45879 #79B458 #5879B4
tetradic
#B45879 #A7B458 #58B493 #6558B4
square
#B45879 #A7B458 #58B493 #6558B4
split-complementary
#B45879 #58B465 #58A7B4
monochromatic
#642D41 #8F405C #B45879 #C7829B #DAACBD

Accessibility & contrast

On white

4.55
#B45879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B45879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45879
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45879#FFFFFF#000000##000000
##B458791.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B7A
Deuteranopia (green-blind)
#7E7C77
Tritanopia (blue-blind)
#C15164
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b45879;
/* rgb */ color: rgb(180, 88, 121);
/* oklch */ color: oklch(58.1% 0.124 359.0);
Tailwind
colors: {
  custom: {
    50: '#cd8a9f',
    500: '#b45879',
    950: '#000000',
  },
}
SCSS
$custom: #b45879;
$custom-light: #cd8a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b45879",
  "rgb": {
    "r": 180,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 338.478,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.12434,
    "h": 359
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#B45879
secondary
#A0C8BA
accent
#CEA45A
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #B45879

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

Preview Lab → · Contrast checker → · Palette generator →

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