#B45BA2#B45BA2

#B45BA2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.1% C 0.145 H 335.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B45BA2
RGBrgb(180, 91, 162)
HSLhsl(312, 37%, 53%)
HSVhsv(312, 49%, 71%)
CMYKcmyk(0%, 49.4%, 10%, 29.4%)
CIE-LABlab(51.61, 45.53, -22.33)
CIE-LCHlch(51.61, 50.71, 333.88°)
OKLaboklab(60.14% 0.1318 -0.0603)
OKLCHoklch(60.14% 0.145 335.4)
XYZxyz(29.0851, 19.7960, 36.4645)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BA2 #5BB46D
analogous
#995BB4 #B45BA2 #B45B75
triadic
#B45BA2 #A2B45B #5BA2B4
tetradic
#B45BA2 #B4995B #5BB46D #5B75B4
square
#B45BA2 #B4995B #5BB46D #5B75B4
split-complementary
#B45BA2 #75B45B #5BB499
monochromatic
#662F5B #904280 #B45BA2 #C785BA #DAAFD2

Accessibility & contrast

On white

4.23
#B45BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B45BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BA2#FFFFFF#000000##000000
##B45BA21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#BC5F77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45ba2;
/* rgb */ color: rgb(180, 91, 162);
/* oklch */ color: oklch(60.1% 0.145 335.4);
Tailwind
colors: {
  custom: {
    50: '#cc8cbd',
    500: '#b45ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ba2;
$custom-light: #cc8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ba2",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 312.135,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60135,
    "c": 0.14496,
    "h": 335.4
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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