#B45DA2#B45DA2

#B45DA2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.4% C 0.142 H 335.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B45DA2
RGBrgb(180, 93, 162)
HSLhsl(312, 37%, 54%)
HSVhsv(312, 48%, 71%)
CMYKcmyk(0%, 48.3%, 10%, 29.4%)
CIE-LABlab(52.00, 44.51, -21.72)
CIE-LCHlch(52.00, 49.53, 333.98°)
OKLaboklab(60.43% 0.1288 -0.0587)
OKLCHoklch(60.43% 0.142 335.5)
XYZxyz(29.2584, 20.1425, 36.5222)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DA2 #5DB46F
analogous
#9A5DB4 #B45DA2 #B45D76
triadic
#B45DA2 #A2B45D #5DA2B4
tetradic
#B45DA2 #B49A5D #5DB46F #5D76B4
square
#B45DA2 #B49A5D #5DB46F #5D76B4
split-complementary
#B45DA2 #76B45D #5DB49A
monochromatic
#67305C #914381 #B45DA2 #C787BA #DBB1D2

Accessibility & contrast

On white

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

On black

5.03
#B45DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DA2#FFFFFF#000000##000000
##B45DA21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#7581A0
Tritanopia (blue-blind)
#BC6178
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45da2;
/* rgb */ color: rgb(180, 93, 162);
/* oklch */ color: oklch(60.4% 0.142 335.5);
Tailwind
colors: {
  custom: {
    50: '#cc8ebd',
    500: '#b45da2',
    950: '#000000',
  },
}
SCSS
$custom: #b45da2;
$custom-light: #cc8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45da2",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 312.414,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.14155,
    "h": 335.5
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#B45DA2
secondary
#A4C9AB
accent
#CD735B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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