#B450A2#B450A2

#B450A2 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.6% C 0.163 H 334.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B450A2
RGBrgb(180, 80, 162)
HSLhsl(311, 40%, 51%)
HSVhsv(311, 56%, 71%)
CMYKcmyk(0%, 55.6%, 10%, 29.4%)
CIE-LABlab(49.56, 50.95, -25.49)
CIE-LCHlch(49.56, 56.97, 333.43°)
OKLaboklab(58.62% 0.1476 -0.0692)
OKLCHoklch(58.62% 0.163 334.9)
XYZxyz(28.2128, 18.0513, 36.1737)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B450A2 #50B462
analogous
#9450B4 #B450A2 #B45070
triadic
#B450A2 #A2B450 #50A2B4
tetradic
#B450A2 #B49450 #50B462 #5070B4
square
#B450A2 #B49450 #50B462 #5070B4
split-complementary
#B450A2 #70B450 #50B494
monochromatic
#602956 #8B3C7D #B450A2 #C67BB9 #D9A6D0

Accessibility & contrast

On white

4.56
#B450A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B450A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B450A2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B450A2#FFFFFF#000000##000000
##B450A21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#BC5672
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b450a2;
/* rgb */ color: rgb(180, 80, 162);
/* oklch */ color: oklch(58.6% 0.163 334.9);
Tailwind
colors: {
  custom: {
    50: '#cd86bd',
    500: '#b450a2',
    950: '#000000',
  },
}
SCSS
$custom: #b450a2;
$custom-light: #cd86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b450a2",
  "rgb": {
    "r": 180,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 310.8,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.16301,
    "h": 334.9
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#B450A2
secondary
#9AC6A2
accent
#D06E58
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B450A2

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

Preview Lab → · Contrast checker → · Palette generator →

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