#B45873#B45873

#B45873 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.0% C 0.122 H 3.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B45873
RGBrgb(180, 88, 115)
HSLhsl(342, 38%, 53%)
HSVhsv(342, 51%, 71%)
CMYKcmyk(0%, 51.1%, 36.1%, 29.4%)
CIE-LABlab(49.40, 40.18, 2.31)
CIE-LCHlch(49.40, 40.25, 3.30°)
OKLaboklab(57.96% 0.1222 0.0065)
OKLCHoklch(57.96% 0.122 3.1)
XYZxyz(25.4079, 17.9230, 18.3377)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45873 #58B499
analogous
#B458A1 #B45873 #B46B58
triadic
#B45873 #73B458 #5873B4
tetradic
#B45873 #A1B458 #58B499 #6B58B4
square
#B45873 #A1B458 #58B499 #6B58B4
split-complementary
#B45873 #58B46B #58A1B4
monochromatic
#642D3D #8F4057 #B45873 #C78296 #DAACBA

Accessibility & contrast

On white

4.58
#B45873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #B45873
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45873#FFFFFF#000000##000000
##B458731.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#686B74
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#C15062
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b45873;
/* rgb */ color: rgb(180, 88, 115);
/* oklch */ color: oklch(58.0% 0.122 3.1);
Tailwind
colors: {
  custom: {
    50: '#cd8a9b',
    500: '#b45873',
    950: '#000000',
  },
}
SCSS
$custom: #b45873;
$custom-light: #cd8a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b45873",
  "rgb": {
    "r": 180,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 342.391,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.12232,
    "h": 3.1
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#B45873
secondary
#A0C8BC
accent
#CEAC5A
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #B45873

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

Preview Lab → · Contrast checker → · Palette generator →

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