#BB40A0#BB40A0

#BB40A0 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.190 H 337.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BB40A0
RGBrgb(187, 64, 160)
HSLhsl(313, 49%, 49%)
HSVhsv(313, 66%, 73%)
CMYKcmyk(0%, 65.8%, 14.4%, 26.7%)
CIE-LABlab(47.97, 59.60, -26.68)
CIE-LCHlch(47.97, 65.29, 335.88°)
OKLaboklab(57.64% 0.1755 -0.0723)
OKLCHoklch(57.64% 0.19 337.6)
XYZxyz(28.6726, 16.7722, 34.9781)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40A0 #40BB5B
analogous
#9940BB #BB40A0 #BB4063
triadic
#BB40A0 #A0BB40 #40A0BB
tetradic
#BB40A0 #BB9940 #40BB5B #4063BB
square
#BB40A0 #BB9940 #40BB5B #4063BB
split-complementary
#BB40A0 #63BB40 #40BB99
monochromatic
#602152 #8D3079 #BB40A0 #CD6CB7 #DC99CD

Accessibility & contrast

On white

4.82
#BB40A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BB40A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB40A0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40A0#FFFFFF#000000##FFFFFF
##BB40A01.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A3
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#C5466A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb40a0;
/* rgb */ color: rgb(187, 64, 160);
/* oklch */ color: oklch(57.6% 0.190 337.6);
Tailwind
colors: {
  custom: {
    50: '#d37ebc',
    500: '#bb40a0',
    950: '#000000',
  },
}
SCSS
$custom: #bb40a0;
$custom-light: #d37ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40a0",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 313.171,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.18977,
    "h": 337.6
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#BB40A0
secondary
#8FC89B
accent
#D96D4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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