#B45CA1#B45CA1

#B45CA1 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.2% C 0.142 H 336.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B45CA1
RGBrgb(180, 92, 161)
HSLhsl(313, 37%, 53%)
HSVhsv(313, 49%, 71%)
CMYKcmyk(0%, 48.9%, 10.6%, 29.4%)
CIE-LABlab(51.76, 44.85, -21.50)
CIE-LCHlch(51.76, 49.74, 334.39°)
OKLaboklab(60.24% 0.1301 -0.058)
OKLCHoklch(60.24% 0.142 336)
XYZxyz(29.0827, 19.9327, 36.0269)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CA1 #5CB46F
analogous
#9B5CB4 #B45CA1 #B45C75
triadic
#B45CA1 #A1B45C #5CA1B4
tetradic
#B45CA1 #B49B5C #5CB46F #5C75B4
square
#B45CA1 #B49B5C #5CB46F #5C75B4
split-complementary
#B45CA1 #75B45C #5CB49B
monochromatic
#662F5B #904280 #B45CA1 #C786B9 #DBB0D1

Accessibility & contrast

On white

4.21
#B45CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B45CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CA1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CA1#FFFFFF#000000##000000
##B45CA11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A3
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#BC6077
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45ca1;
/* rgb */ color: rgb(180, 92, 161);
/* oklch */ color: oklch(60.2% 0.142 336.0);
Tailwind
colors: {
  custom: {
    50: '#cc8dbd',
    500: '#b45ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b45ca1;
$custom-light: #cc8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ca1",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 312.955,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60238,
    "c": 0.14244,
    "h": 336
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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