#B45FA5#B45FA5

#B45FA5 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 60.9% C 0.141 H 334.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B45FA5
RGBrgb(180, 95, 165)
HSLhsl(311, 36%, 54%)
HSVhsv(311, 47%, 71%)
CMYKcmyk(0%, 47.2%, 8.3%, 29.4%)
CIE-LABlab(52.52, 43.99, -22.68)
CIE-LCHlch(52.52, 49.49, 332.72°)
OKLaboklab(60.85% 0.1265 -0.0614)
OKLCHoklch(60.85% 0.141 334.1)
XYZxyz(29.7061, 20.6062, 38.0027)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FA5 #5FB46E
analogous
#995FB4 #B45FA5 #B45F7B
triadic
#B45FA5 #A5B45F #5FA5B4
tetradic
#B45FA5 #B4995F #5FB46E #5F7BB4
square
#B45FA5 #B4995F #5FB46E #5F7BB4
split-complementary
#B45FA5 #7BB45F #5FB499
monochromatic
#68315E #924484 #B45FA5 #C889BC #DBB2D4

Accessibility & contrast

On white

4.10
#B45FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B45FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FA5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FA5#FFFFFF#000000##000000
##B45FA51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76A7
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#BB647A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45fa5;
/* rgb */ color: rgb(180, 95, 165);
/* oklch */ color: oklch(60.9% 0.141 334.1);
Tailwind
colors: {
  custom: {
    50: '#cc8fc0',
    500: '#b45fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b45fa5;
$custom-light: #cc8fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fa5",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 310.588,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60853,
    "c": 0.14063,
    "h": 334.1
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#B45FA5
secondary
#A5CAAC
accent
#CC6F5C
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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