#B45EA4#B45EA4

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

Color values

HEX#B45EA4
RGBrgb(180, 94, 164)
HSLhsl(311, 36%, 54%)
HSVhsv(311, 48%, 71%)
CMYKcmyk(0%, 47.8%, 8.9%, 29.4%)
CIE-LABlab(52.28, 44.34, -22.47)
CIE-LCHlch(52.28, 49.70, 333.13°)
OKLaboklab(60.66% 0.1278 -0.0608)
OKLCHoklch(60.66% 0.142 334.6)
XYZxyz(29.5259, 20.3909, 37.4954)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA4 #5EB46E
analogous
#995EB4 #B45EA4 #B45E79
triadic
#B45EA4 #A4B45E #5EA4B4
tetradic
#B45EA4 #B4995E #5EB46E #5E79B4
square
#B45EA4 #B4995E #5EB46E #5E79B4
split-complementary
#B45EA4 #79B45E #5EB499
monochromatic
#67305D #914483 #B45EA4 #C788BC #DBB1D3

Accessibility & contrast

On white

4.14
#B45EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45EA4#FFFFFF#000000##000000
##B45EA41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A6
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#BB6279
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea4;
/* rgb */ color: rgb(180, 94, 164);
/* oklch */ color: oklch(60.7% 0.141 334.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ebf',
    500: '#b45ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea4;
$custom-light: #cc8ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea4",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 311.163,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.1415,
    "h": 334.6
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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