#B45EA2#B45EA2

#B45EA2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.6% C 0.140 H 335.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B45EA2
RGBrgb(180, 94, 162)
HSLhsl(313, 36%, 54%)
HSVhsv(313, 48%, 71%)
CMYKcmyk(0%, 47.8%, 10%, 29.4%)
CIE-LABlab(52.20, 43.99, -21.42)
CIE-LCHlch(52.20, 48.93, 334.04°)
OKLaboklab(60.58% 0.1273 -0.0578)
OKLCHoklch(60.58% 0.14 335.6)
XYZxyz(29.3467, 20.3192, 36.5517)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA2 #5EB470
analogous
#9B5EB4 #B45EA2 #B45E77
triadic
#B45EA2 #A2B45E #5EA2B4
tetradic
#B45EA2 #B49B5E #5EB470 #5E77B4
square
#B45EA2 #B49B5E #5EB470 #5E77B4
split-complementary
#B45EA2 #77B45E #5EB49B
monochromatic
#67305C #914481 #B45EA2 #C788BA #DBB1D2

Accessibility & contrast

On white

4.15
#B45EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B45EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EA2#FFFFFF#000000##000000
##B45EA21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#BB6278
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45ea2;
/* rgb */ color: rgb(180, 94, 162);
/* oklch */ color: oklch(60.6% 0.140 335.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ebd',
    500: '#b45ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea2;
$custom-light: #cc8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea2",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 312.558,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.13983,
    "h": 335.6
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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