#B45F8D#B45F8D

#B45F8D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 59.9% C 0.123 H 347.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B45F8D
RGBrgb(180, 95, 141)
HSLhsl(328, 36%, 54%)
HSVhsv(328, 47%, 71%)
CMYKcmyk(0%, 47.2%, 21.7%, 29.4%)
CIE-LABlab(51.63, 40.10, -9.92)
CIE-LCHlch(51.63, 41.31, 346.11°)
OKLaboklab(59.89% 0.12 -0.026)
OKLCHoklch(59.89% 0.123 347.8)
XYZxyz(27.7230, 19.8129, 27.5583)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F8D #5FB486
analogous
#B05FB4 #B45F8D #B45F63
triadic
#B45F8D #8DB45F #5F8DB4
tetradic
#B45F8D #B4B05F #5FB486 #5F63B4
square
#B45F8D #B4B05F #5FB486 #5F63B4
split-complementary
#B45F8D #63B45F #5FB4B0
monochromatic
#68314F #92446E #B45F8D #C889AB #DBB2C8

Accessibility & contrast

On white

4.23
#B45F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B45F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F8D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F8D#FFFFFF#000000##000000
##B45F8D1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#67728F
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#BE5D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45f8d;
/* rgb */ color: rgb(180, 95, 141);
/* oklch */ color: oklch(59.9% 0.123 347.8);
Tailwind
colors: {
  custom: {
    50: '#cc8fae',
    500: '#b45f8d',
    950: '#000000',
  },
}
SCSS
$custom: #b45f8d;
$custom-light: #cc8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f8d",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 327.529,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.12276,
    "h": 347.8
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#B45F8D
secondary
#A5CAB6
accent
#CC8F5C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C10
muted
#827D7F

Preview Lab

Preview with #B45F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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