#B45CA5#B45CA5

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

Color values

HEX#B45CA5
RGBrgb(180, 92, 165)
HSLhsl(310, 37%, 53%)
HSVhsv(310, 49%, 71%)
CMYKcmyk(0%, 48.9%, 8.3%, 29.4%)
CIE-LABlab(51.92, 45.53, -23.60)
CIE-LCHlch(51.92, 51.28, 332.61°)
OKLaboklab(60.41% 0.131 -0.0639)
OKLCHoklch(60.41% 0.146 334)
XYZxyz(29.4410, 20.0761, 37.9144)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CA5 #5CB46B
analogous
#975CB4 #B45CA5 #B45C79
triadic
#B45CA5 #A5B45C #5CA5B4
tetradic
#B45CA5 #B4975C #5CB46B #5C79B4
square
#B45CA5 #B4975C #5CB46B #5C79B4
split-complementary
#B45CA5 #79B45C #5CB497
monochromatic
#662F5D #904283 #B45CA5 #C786BC #DBB0D3

Accessibility & contrast

On white

4.19
#B45CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B45CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CA5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CA5#FFFFFF#000000##000000
##B45CA51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A7
Deuteranopia (green-blind)
#7480A2
Tritanopia (blue-blind)
#BB6179
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45ca5;
/* rgb */ color: rgb(180, 92, 165);
/* oklch */ color: oklch(60.4% 0.146 334.0);
Tailwind
colors: {
  custom: {
    50: '#cc8dc0',
    500: '#b45ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b45ca5;
$custom-light: #cc8dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ca5",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 310.227,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.14576,
    "h": 334
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#B45CA5
secondary
#A3C9A9
accent
#CD6E5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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