#B45CA3#B45CA3

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

Color values

HEX#B45CA3
RGBrgb(180, 92, 163)
HSLhsl(312, 37%, 53%)
HSVhsv(312, 49%, 71%)
CMYKcmyk(0%, 48.9%, 9.4%, 29.4%)
CIE-LABlab(51.84, 45.19, -22.55)
CIE-LCHlch(51.84, 50.51, 333.48°)
OKLaboklab(60.32% 0.1305 -0.061)
OKLCHoklch(60.32% 0.144 335)
XYZxyz(29.2604, 20.0038, 36.9632)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CA3 #5CB46D
analogous
#995CB4 #B45CA3 #B45C77
triadic
#B45CA3 #A3B45C #5CA3B4
tetradic
#B45CA3 #B4995C #5CB46D #5C77B4
square
#B45CA3 #B4995C #5CB46D #5C77B4
split-complementary
#B45CA3 #77B45C #5CB499
monochromatic
#662F5C #904281 #B45CA3 #C786BB #DBB0D2

Accessibility & contrast

On white

4.20
#B45CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B45CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CA3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CA3#FFFFFF#000000##000000
##B45CA31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A5
Deuteranopia (green-blind)
#7580A1
Tritanopia (blue-blind)
#BB6078
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45ca3;
/* rgb */ color: rgb(180, 92, 163);
/* oklch */ color: oklch(60.3% 0.144 335.0);
Tailwind
colors: {
  custom: {
    50: '#cc8dbe',
    500: '#b45ca3',
    950: '#000000',
  },
}
SCSS
$custom: #b45ca3;
$custom-light: #cc8dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ca3",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 311.591,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.14408,
    "h": 335
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#B45CA3
secondary
#A3C9AA
accent
#CD715B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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