#B45F87#B45F87

#B45F87 is a mid, moderate pink. Relative luminance 0.196; OKLCH L 59.7% C 0.119 H 351.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B45F87
RGBrgb(180, 95, 135)
HSLhsl(332, 36%, 54%)
HSVhsv(332, 47%, 71%)
CMYKcmyk(0%, 47.2%, 25%, 29.4%)
CIE-LABlab(51.43, 39.22, -6.66)
CIE-LCHlch(51.43, 39.78, 350.37°)
OKLaboklab(59.68% 0.1181 -0.0171)
OKLCHoklch(59.68% 0.119 351.7)
XYZxyz(27.2886, 19.6392, 25.2705)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F87 #5FB48C
analogous
#B45FB2 #B45F87 #B4625F
triadic
#B45F87 #87B45F #5F87B4
tetradic
#B45F87 #B2B45F #5FB48C #625FB4
square
#B45F87 #B2B45F #5FB48C #625FB4
split-complementary
#B45F87 #5FB462 #5FB2B4
monochromatic
#68314B #924469 #B45F87 #C889A6 #DBB2C6

Accessibility & contrast

On white

4.26
#B45F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B45F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F87
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F87#FFFFFF#000000##000000
##B45F871.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697188
Deuteranopia (green-blind)
#7F8085
Tritanopia (blue-blind)
#BF5C6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45f87;
/* rgb */ color: rgb(180, 95, 135);
/* oklch */ color: oklch(59.7% 0.119 351.7);
Tailwind
colors: {
  custom: {
    50: '#cd8faa',
    500: '#b45f87',
    950: '#000000',
  },
}
SCSS
$custom: #b45f87;
$custom-light: #cd8faa;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f87",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 331.765,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.11929,
    "h": 351.7
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#B45F87
secondary
#A5CAB8
accent
#CC975C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C10
muted
#827D7F

Preview Lab

Preview with #B45F87

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

Preview Lab → · Contrast checker → · Palette generator →

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