#BB4FA2#BB4FA2

#BB4FA2 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.170 H 337.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB4FA2
RGBrgb(187, 79, 162)
HSLhsl(314, 44%, 52%)
HSVhsv(314, 58%, 73%)
CMYKcmyk(0%, 57.8%, 13.4%, 26.7%)
CIE-LABlab(50.41, 53.45, -24.08)
CIE-LCHlch(50.41, 58.62, 335.75°)
OKLaboklab(59.46% 0.1567 -0.0651)
OKLCHoklch(59.46% 0.17 337.4)
XYZxyz(29.8114, 18.7677, 36.2278)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FA2 #4FBB68
analogous
#9E4FBB #BB4FA2 #BB4F6C
triadic
#BB4FA2 #A2BB4F #4FA2BB
tetradic
#BB4FA2 #BB9E4F #4FBB68 #4F6CBB
square
#BB4FA2 #BB9E4F #4FBB68 #4F6CBB
split-complementary
#BB4FA2 #6CBB4F #4FBB9E
monochromatic
#682859 #94397F #BB4FA2 #CC7BB9 #DDA7D1

Accessibility & contrast

On white

4.42
#BB4FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB4FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FA2#FFFFFF#000000##000000
##BB4FA21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#C45371
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4fa2;
/* rgb */ color: rgb(187, 79, 162);
/* oklch */ color: oklch(59.5% 0.170 337.4);
Tailwind
colors: {
  custom: {
    50: '#d286bd',
    500: '#bb4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fa2;
$custom-light: #d286bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fa2",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 313.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.16962,
    "h": 337.4
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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