#B45F8A#B45F8A

#B45F8A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 59.8% C 0.121 H 349.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B45F8A
RGBrgb(180, 95, 138)
HSLhsl(330, 36%, 54%)
HSVhsv(330, 47%, 71%)
CMYKcmyk(0%, 47.2%, 23.3%, 29.4%)
CIE-LABlab(51.52, 39.66, -8.29)
CIE-LCHlch(51.52, 40.51, 348.19°)
OKLaboklab(59.78% 0.119 -0.0216)
OKLCHoklch(59.78% 0.121 349.7)
XYZxyz(27.5028, 19.7248, 26.3986)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F8A #5FB489
analogous
#B45FB4 #B45F8A #B45F60
triadic
#B45F8A #8AB45F #5F8AB4
tetradic
#B45F8A #B4B45F #5FB489 #5F60B4
square
#B45F8A #B4B45F #5FB489 #5F60B4
split-complementary
#B45F8A #60B45F #5FB4B4
monochromatic
#68314D #92446B #B45F8A #C889A8 #DBB2C7

Accessibility & contrast

On white

4.25
#B45F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B45F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F8A#FFFFFF#000000##000000
##B45F8A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#68728B
Deuteranopia (green-blind)
#7E8088
Tritanopia (blue-blind)
#BF5D6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45f8a;
/* rgb */ color: rgb(180, 95, 138);
/* oklch */ color: oklch(59.8% 0.121 349.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fac',
    500: '#b45f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b45f8a;
$custom-light: #cc8fac;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f8a",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 329.647,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.12097,
    "h": 349.7
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#B45F8A
secondary
#A5CAB7
accent
#CC935C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C10
muted
#827D7F

Preview Lab

Preview with #B45F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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