#BB4EA2#BB4EA2

#BB4EA2 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.171 H 337.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BB4EA2
RGBrgb(187, 78, 162)
HSLhsl(314, 44%, 52%)
HSVhsv(314, 58%, 73%)
CMYKcmyk(0%, 58.3%, 13.4%, 26.7%)
CIE-LABlab(50.25, 53.91, -24.34)
CIE-LCHlch(50.25, 59.15, 335.70°)
OKLaboklab(59.33% 0.158 -0.0658)
OKLCHoklch(59.33% 0.171 337.4)
XYZxyz(29.7399, 18.6246, 36.2040)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA2 #4EBB67
analogous
#9D4EBB #BB4EA2 #BB4E6C
triadic
#BB4EA2 #A2BB4E #4EA2BB
tetradic
#BB4EA2 #BB9D4E #4EBB67 #4E6CBB
square
#BB4EA2 #BB9D4E #4EBB67 #4E6CBB
split-complementary
#BB4EA2 #6CBB4E #4EBB9D
monochromatic
#672858 #93397E #BB4EA2 #CC7AB9 #DDA6D0

Accessibility & contrast

On white

4.45
#BB4EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BB4EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EA2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EA2#FFFFFF#000000##000000
##BB4EA21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#717E9F
Tritanopia (blue-blind)
#C45271
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ea2;
/* rgb */ color: rgb(187, 78, 162);
/* oklch */ color: oklch(59.3% 0.171 337.4);
Tailwind
colors: {
  custom: {
    50: '#d285bd',
    500: '#bb4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea2;
$custom-light: #d285bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea2",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 313.761,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.17115,
    "h": 337.4
  },
  "luminance": 0.18622
}

Semantic roles & 50–950 ramp

primary
#BB4EA2
secondary
#9BCAA5
accent
#D47154
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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