#B45FA2#B45FA2

#B45FA2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.7% C 0.138 H 335.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B45FA2
RGBrgb(180, 95, 162)
HSLhsl(313, 36%, 54%)
HSVhsv(313, 47%, 71%)
CMYKcmyk(0%, 47.2%, 10%, 29.4%)
CIE-LABlab(52.40, 43.48, -21.11)
CIE-LCHlch(52.40, 48.33, 334.10°)
OKLaboklab(60.72% 0.1258 -0.057)
OKLCHoklch(60.72% 0.138 335.6)
XYZxyz(29.4362, 20.4982, 36.5815)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FA2 #5FB471
analogous
#9C5FB4 #B45FA2 #B45F78
triadic
#B45FA2 #A2B45F #5FA2B4
tetradic
#B45FA2 #B49C5F #5FB471 #5F78B4
square
#B45FA2 #B49C5F #5FB471 #5F78B4
split-complementary
#B45FA2 #78B45F #5FB49C
monochromatic
#68315C #924481 #B45FA2 #C889BA #DBB2D2

Accessibility & contrast

On white

4.12
#B45FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B45FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FA2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FA2#FFFFFF#000000##000000
##B45FA21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#BB6379
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45fa2;
/* rgb */ color: rgb(180, 95, 162);
/* oklch */ color: oklch(60.7% 0.138 335.6);
Tailwind
colors: {
  custom: {
    50: '#cc8fbd',
    500: '#b45fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b45fa2;
$custom-light: #cc8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fa2",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 312.706,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.13811,
    "h": 335.6
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#B45FA2
secondary
#A5CAAD
accent
#CC735C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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