#B45EA3#B45EA3

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

Color values

HEX#B45EA3
RGBrgb(180, 94, 163)
HSLhsl(312, 36%, 54%)
HSVhsv(312, 48%, 71%)
CMYKcmyk(0%, 47.8%, 9.4%, 29.4%)
CIE-LABlab(52.24, 44.16, -21.94)
CIE-LCHlch(52.24, 49.32, 333.58°)
OKLaboklab(60.62% 0.1276 -0.0593)
OKLCHoklch(60.62% 0.141 335.1)
XYZxyz(29.4360, 20.3549, 37.0217)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA3 #5EB46F
analogous
#9A5EB4 #B45EA3 #B45E78
triadic
#B45EA3 #A3B45E #5EA3B4
tetradic
#B45EA3 #B49A5E #5EB46F #5E78B4
square
#B45EA3 #B49A5E #5EB46F #5E78B4
split-complementary
#B45EA3 #78B45E #5EB49A
monochromatic
#67305D #914482 #B45EA3 #C788BB #DBB1D3

Accessibility & contrast

On white

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

On black

5.07
#B45EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EA3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EA3#FFFFFF#000000##000000
##B45EA31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A5
Deuteranopia (green-blind)
#7681A1
Tritanopia (blue-blind)
#BB6279
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea3;
/* rgb */ color: rgb(180, 94, 163);
/* oklch */ color: oklch(60.6% 0.141 335.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ebe',
    500: '#b45ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea3;
$custom-light: #cc8ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea3",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 311.86,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.14067,
    "h": 335.1
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#B45EA3
secondary
#A5C9AC
accent
#CC725B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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