#B45FA1#B45FA1

#B45FA1 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.7% C 0.137 H 336.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B45FA1
RGBrgb(180, 95, 161)
HSLhsl(313, 36%, 54%)
HSVhsv(313, 47%, 71%)
CMYKcmyk(0%, 47.2%, 10.6%, 29.4%)
CIE-LABlab(52.36, 43.31, -20.59)
CIE-LCHlch(52.36, 47.95, 334.57°)
OKLaboklab(60.68% 0.1256 -0.0555)
OKLCHoklch(60.68% 0.137 336.2)
XYZxyz(29.3477, 20.4628, 36.1153)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FA1 #5FB472
analogous
#9D5FB4 #B45FA1 #B45F77
triadic
#B45FA1 #A1B45F #5FA1B4
tetradic
#B45FA1 #B49D5F #5FB472 #5F77B4
square
#B45FA1 #B49D5F #5FB472 #5F77B4
split-complementary
#B45FA1 #77B45F #5FB49D
monochromatic
#68315C #924480 #B45FA1 #C889B9 #DBB2D2

Accessibility & contrast

On white

4.12
#B45FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B45FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FA1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FA1#FFFFFF#000000##000000
##B45FA11.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A3
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#BC6279
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45fa1;
/* rgb */ color: rgb(180, 95, 161);
/* oklch */ color: oklch(60.7% 0.137 336.2);
Tailwind
colors: {
  custom: {
    50: '#cc8fbd',
    500: '#b45fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b45fa1;
$custom-light: #cc8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fa1",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 313.412,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.13729,
    "h": 336.2
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#B45FA1
secondary
#A5CAAD
accent
#CC755C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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