#BB40A3#BB40A3

#BB40A3 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.192 H 336.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB40A3
RGBrgb(187, 64, 163)
HSLhsl(312, 49%, 49%)
HSVhsv(312, 66%, 73%)
CMYKcmyk(0%, 65.8%, 12.8%, 26.7%)
CIE-LABlab(48.11, 60.05, -28.25)
CIE-LCHlch(48.11, 66.36, 334.81°)
OKLaboklab(57.78% 0.1759 -0.0768)
OKLCHoklch(57.78% 0.192 336.4)
XYZxyz(28.9382, 16.8784, 36.3770)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40A3 #40BB58
analogous
#9640BB #BB40A3 #BB4066
triadic
#BB40A3 #A3BB40 #40A3BB
tetradic
#BB40A3 #BB9640 #40BB58 #4066BB
square
#BB40A3 #BB9640 #40BB58 #4066BB
split-complementary
#BB40A3 #66BB40 #40BB96
monochromatic
#602154 #8D307B #BB40A3 #CD6CBA #DC99CF

Accessibility & contrast

On white

4.80
#BB40A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BB40A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB40A3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40A3#FFFFFF#000000##FFFFFF
##BB40A31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#C4476C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb40a3;
/* rgb */ color: rgb(187, 64, 163);
/* oklch */ color: oklch(57.8% 0.192 336.4);
Tailwind
colors: {
  custom: {
    50: '#d37ebe',
    500: '#bb40a3',
    950: '#000000',
  },
}
SCSS
$custom: #bb40a3;
$custom-light: #d37ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40a3",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 311.707,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.19192,
    "h": 336.4
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#BB40A3
secondary
#8FC89A
accent
#D96A4F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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