#B45EA5#B45EA5

#B45EA5 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 60.7% C 0.142 H 334.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B45EA5
RGBrgb(180, 94, 165)
HSLhsl(310, 36%, 54%)
HSVhsv(310, 48%, 71%)
CMYKcmyk(0%, 47.8%, 8.3%, 29.4%)
CIE-LABlab(52.32, 44.51, -22.99)
CIE-LCHlch(52.32, 50.09, 332.68°)
OKLaboklab(60.71% 0.128 -0.0622)
OKLCHoklch(60.71% 0.142 334.1)
XYZxyz(29.6166, 20.4272, 37.9729)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA5 #5EB46D
analogous
#985EB4 #B45EA5 #B45E7A
triadic
#B45EA5 #A5B45E #5EA5B4
tetradic
#B45EA5 #B4985E #5EB46D #5E7AB4
square
#B45EA5 #B4985E #5EB46D #5E7AB4
split-complementary
#B45EA5 #7AB45E #5EB498
monochromatic
#67305E #914484 #B45EA5 #C788BC #DBB1D4

Accessibility & contrast

On white

4.13
#B45EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B45EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EA5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EA5#FFFFFF#000000##000000
##B45EA51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A7
Deuteranopia (green-blind)
#7581A3
Tritanopia (blue-blind)
#BB637A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea5;
/* rgb */ color: rgb(180, 94, 165);
/* oklch */ color: oklch(60.7% 0.142 334.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ec0',
    500: '#b45ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea5;
$custom-light: #cc8ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea5",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 310.465,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.14235,
    "h": 334.1
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#B45EA5
secondary
#A5C9AB
accent
#CC6F5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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