#B45797#B45797

#B45797 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.1% C 0.143 H 340.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B45797
RGBrgb(180, 87, 151)
HSLhsl(319, 38%, 52%)
HSVhsv(319, 52%, 71%)
CMYKcmyk(0%, 51.7%, 16.1%, 29.4%)
CIE-LABlab(50.40, 45.76, -17.69)
CIE-LCHlch(50.40, 49.06, 338.86°)
OKLaboklab(59.1% 0.1351 -0.0473)
OKLCHoklch(59.1% 0.143 340.7)
XYZxyz(27.8169, 18.7562, 31.4274)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45797 #57B474
analogous
#A357B4 #B45797 #B45768
triadic
#B45797 #97B457 #5797B4
tetradic
#B45797 #B4A357 #57B474 #5768B4
square
#B45797 #B4A357 #57B474 #5768B4
split-complementary
#B45797 #68B457 #57B4A3
monochromatic
#642D53 #8E4076 #B45797 #C781B1 #DAACCB

Accessibility & contrast

On white

4.42
#B45797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B45797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45797
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45797#FFFFFF#000000##000000
##B457971.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#757D95
Tritanopia (blue-blind)
#BD5870
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b45797;
/* rgb */ color: rgb(180, 87, 151);
/* oklch */ color: oklch(59.1% 0.143 340.7);
Tailwind
colors: {
  custom: {
    50: '#cd8ab5',
    500: '#b45797',
    950: '#000000',
  },
}
SCSS
$custom: #b45797;
$custom-light: #cd8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45797",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 318.71,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.14313,
    "h": 340.7
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#B45797
secondary
#9FC8AC
accent
#CE7E5A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C11
muted
#827D80

Preview Lab

Preview with #B45797

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

Preview Lab → · Contrast checker → · Palette generator →

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