#BB4A7E#BB4A7E

#BB4A7E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.4% C 0.155 H 354.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB4A7E
RGBrgb(187, 74, 126)
HSLhsl(332, 45%, 51%)
HSVhsv(332, 60%, 73%)
CMYKcmyk(0%, 60.4%, 32.6%, 26.7%)
CIE-LABlab(48.22, 50.67, -5.92)
CIE-LCHlch(48.22, 51.02, 353.34°)
OKLaboklab(57.4% 0.1543 -0.015)
OKLCHoklch(57.4% 0.155 354.5)
XYZxyz(26.7095, 16.9715, 21.6038)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4A7E #4ABB87
analogous
#BB4AB7 #BB4A7E #BB4E4A
triadic
#BB4A7E #7EBB4A #4A7EBB
tetradic
#BB4A7E #B7BB4A #4ABB87 #4E4ABB
square
#BB4A7E #B7BB4A #4ABB87 #4E4ABB
split-complementary
#BB4A7E #4ABB4E #4AB7BB
monochromatic
#652643 #913760 #BB4A7E #CC769E #DCA3BD

Accessibility & contrast

On white

4.78
#BB4A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BB4A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4A7E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4A7E#FFFFFF#000000##FFFFFF
##BB4A7E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6580
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#C9435E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb4a7e;
/* rgb */ color: rgb(187, 74, 126);
/* oklch */ color: oklch(57.4% 0.155 354.5);
Tailwind
colors: {
  custom: {
    50: '#d382a3',
    500: '#bb4a7e',
    950: '#000000',
  },
}
SCSS
$custom: #bb4a7e;
$custom-light: #d382a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4a7e",
  "rgb": {
    "r": 187,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 332.389,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.15507,
    "h": 354.5
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#BB4A7E
secondary
#97C9B2
accent
#D59953
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BB4A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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