#B45FA3#B45FA3

#B45FA3 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.8% C 0.139 H 335.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B45FA3
RGBrgb(180, 95, 163)
HSLhsl(312, 36%, 54%)
HSVhsv(312, 47%, 71%)
CMYKcmyk(0%, 47.2%, 9.4%, 29.4%)
CIE-LABlab(52.44, 43.65, -21.64)
CIE-LCHlch(52.44, 48.72, 333.63°)
OKLaboklab(60.77% 0.1261 -0.0584)
OKLCHoklch(60.77% 0.139 335.1)
XYZxyz(29.5255, 20.5339, 37.0515)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FA3 #5FB470
analogous
#9B5FB4 #B45FA3 #B45F79
triadic
#B45FA3 #A3B45F #5FA3B4
tetradic
#B45FA3 #B49B5F #5FB470 #5F79B4
square
#B45FA3 #B49B5F #5FB470 #5F79B4
split-complementary
#B45FA3 #79B45F #5FB49B
monochromatic
#68315D #924482 #B45FA3 #C889BB #DBB2D3

Accessibility & contrast

On white

4.11
#B45FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B45FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FA3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FA3#FFFFFF#000000##000000
##B45FA31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A5
Deuteranopia (green-blind)
#7682A1
Tritanopia (blue-blind)
#BB6379
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45fa3;
/* rgb */ color: rgb(180, 95, 163);
/* oklch */ color: oklch(60.8% 0.139 335.1);
Tailwind
colors: {
  custom: {
    50: '#cc8fbe',
    500: '#b45fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b45fa3;
$custom-light: #cc8fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fa3",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 312,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.13895,
    "h": 335.1
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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