#B45796#B45796

#B45796 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.1% C 0.142 H 341.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B45796
RGBrgb(180, 87, 150)
HSLhsl(319, 38%, 52%)
HSVhsv(319, 52%, 71%)
CMYKcmyk(0%, 51.7%, 16.7%, 29.4%)
CIE-LABlab(50.36, 45.60, -17.16)
CIE-LCHlch(50.36, 48.72, 339.38°)
OKLaboklab(59.06% 0.1348 -0.0458)
OKLCHoklch(59.06% 0.142 341.2)
XYZxyz(27.7360, 18.7238, 31.0015)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45796 #57B475
analogous
#A457B4 #B45796 #B45767
triadic
#B45796 #96B457 #5796B4
tetradic
#B45796 #B4A457 #57B475 #5767B4
square
#B45796 #B4A457 #57B475 #5767B4
split-complementary
#B45796 #67B457 #57B4A4
monochromatic
#642D52 #8E4075 #B45796 #C781B0 #DAACCB

Accessibility & contrast

On white

4.43
#B45796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B45796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45796
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45796#FFFFFF#000000##000000
##B457961.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F98
Deuteranopia (green-blind)
#767D94
Tritanopia (blue-blind)
#BD5870
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b45796;
/* rgb */ color: rgb(180, 87, 150);
/* oklch */ color: oklch(59.1% 0.142 341.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ab5',
    500: '#b45796',
    950: '#000000',
  },
}
SCSS
$custom: #b45796;
$custom-light: #cd8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45796",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 319.355,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.1424,
    "h": 341.2
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45796

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

Preview Lab → · Contrast checker → · Palette generator →

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