#B45F99#B45F99

#B45F99 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.4% C 0.131 H 340.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B45F99
RGBrgb(180, 95, 153)
HSLhsl(319, 36%, 54%)
HSVhsv(319, 47%, 71%)
CMYKcmyk(0%, 47.2%, 15%, 29.4%)
CIE-LABlab(52.05, 41.98, -16.36)
CIE-LCHlch(52.05, 45.06, 338.71°)
OKLaboklab(60.35% 0.1235 -0.0437)
OKLCHoklch(60.35% 0.131 340.5)
XYZxyz(28.6647, 20.1896, 32.5180)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F99 #5FB47A
analogous
#A55FB4 #B45F99 #B45F6F
triadic
#B45F99 #99B45F #5F99B4
tetradic
#B45F99 #B4A55F #5FB47A #5F6FB4
square
#B45F99 #B4A55F #5FB47A #5F6FB4
split-complementary
#B45F99 #6FB45F #5FB4A5
monochromatic
#683156 #924479 #B45F99 #C889B4 #DBB2CE

Accessibility & contrast

On white

4.17
#B45F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B45F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F99
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F99#FFFFFF#000000##000000
##B45F991.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#7A8197
Tritanopia (blue-blind)
#BD6075
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45f99;
/* rgb */ color: rgb(180, 95, 153);
/* oklch */ color: oklch(60.4% 0.131 340.5);
Tailwind
colors: {
  custom: {
    50: '#cc8fb7',
    500: '#b45f99',
    950: '#000000',
  },
}
SCSS
$custom: #b45f99;
$custom-light: #cc8fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f99",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 319.059,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.131,
    "h": 340.5
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#B45F99
secondary
#A5CAB1
accent
#CC7F5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140D11
muted
#827D80

Preview Lab

Preview with #B45F99

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

Preview Lab → · Contrast checker → · Palette generator →

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