#B45FA4#B45FA4

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

Color values

HEX#B45FA4
RGBrgb(180, 95, 164)
HSLhsl(311, 36%, 54%)
HSVhsv(311, 47%, 71%)
CMYKcmyk(0%, 47.2%, 8.9%, 29.4%)
CIE-LABlab(52.48, 43.82, -22.16)
CIE-LCHlch(52.48, 49.10, 333.17°)
OKLaboklab(60.81% 0.1263 -0.0599)
OKLCHoklch(60.81% 0.14 334.6)
XYZxyz(29.6154, 20.5699, 37.5253)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FA4 #5FB46F
analogous
#9A5FB4 #B45FA4 #B45F7A
triadic
#B45FA4 #A4B45F #5FA4B4
tetradic
#B45FA4 #B49A5F #5FB46F #5F7AB4
square
#B45FA4 #B49A5F #5FB46F #5F7AB4
split-complementary
#B45FA4 #7AB45F #5FB49A
monochromatic
#68315E #924483 #B45FA4 #C889BC #DBB2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45FA4#FFFFFF#000000##000000
##B45FA41.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)
#5F75A6
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#BB637A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45fa4;
/* rgb */ color: rgb(180, 95, 164);
/* oklch */ color: oklch(60.8% 0.140 334.6);
Tailwind
colors: {
  custom: {
    50: '#cc8fbf',
    500: '#b45fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b45fa4;
$custom-light: #cc8fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fa4",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 311.294,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.13979,
    "h": 334.6
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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