#B45F97#B45F97

#B45F97 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.3% C 0.130 H 341.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B45F97
RGBrgb(180, 95, 151)
HSLhsl(320, 36%, 54%)
HSVhsv(320, 47%, 71%)
CMYKcmyk(0%, 47.2%, 16.1%, 29.4%)
CIE-LABlab(51.98, 41.66, -15.29)
CIE-LCHlch(51.98, 44.38, 339.84°)
OKLaboklab(60.27% 0.1229 -0.0407)
OKLCHoklch(60.27% 0.13 341.7)
XYZxyz(28.5009, 20.1241, 31.6554)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F97 #5FB47C
analogous
#A75FB4 #B45F97 #B45F6D
triadic
#B45F97 #97B45F #5F97B4
tetradic
#B45F97 #B4A75F #5FB47C #5F6DB4
square
#B45F97 #B4A75F #5FB47C #5F6DB4
split-complementary
#B45F97 #6DB45F #5FB4A7
monochromatic
#683155 #924477 #B45F97 #C889B2 #DBB2CD

Accessibility & contrast

On white

4.18
#B45F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B45F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F97
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F97#FFFFFF#000000##000000
##B45F971.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647399
Deuteranopia (green-blind)
#7A8195
Tritanopia (blue-blind)
#BD6074
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45f97;
/* rgb */ color: rgb(180, 95, 151);
/* oklch */ color: oklch(60.3% 0.130 341.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fb5',
    500: '#b45f97',
    950: '#000000',
  },
}
SCSS
$custom: #b45f97;
$custom-light: #cc8fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f97",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 320.471,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.12951,
    "h": 341.7
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#B45F97
secondary
#A5CAB2
accent
#CC825C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140D11
muted
#827D80

Preview Lab

Preview with #B45F97

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

Preview Lab → · Contrast checker → · Palette generator →

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