#B45CA2#B45CA2

#B45CA2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.3% C 0.143 H 335.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B45CA2
RGBrgb(180, 92, 162)
HSLhsl(312, 37%, 53%)
HSVhsv(312, 49%, 71%)
CMYKcmyk(0%, 48.9%, 10%, 29.4%)
CIE-LABlab(51.80, 45.02, -22.03)
CIE-LCHlch(51.80, 50.12, 333.93°)
OKLaboklab(60.28% 0.1303 -0.0595)
OKLCHoklch(60.28% 0.143 335.5)
XYZxyz(29.1712, 19.9681, 36.4932)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CA2 #5CB46E
analogous
#9A5CB4 #B45CA2 #B45C76
triadic
#B45CA2 #A2B45C #5CA2B4
tetradic
#B45CA2 #B49A5C #5CB46E #5C76B4
square
#B45CA2 #B49A5C #5CB46E #5C76B4
split-complementary
#B45CA2 #76B45C #5CB49A
monochromatic
#662F5B #904280 #B45CA2 #C786BA #DBB0D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45CA2#FFFFFF#000000##000000
##B45CA21.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)
#5C73A4
Deuteranopia (green-blind)
#7580A0
Tritanopia (blue-blind)
#BC6077
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45ca2;
/* rgb */ color: rgb(180, 92, 162);
/* oklch */ color: oklch(60.3% 0.143 335.5);
Tailwind
colors: {
  custom: {
    50: '#cc8dbd',
    500: '#b45ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ca2;
$custom-light: #cc8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ca2",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 312.273,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60281,
    "c": 0.14325,
    "h": 335.5
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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