#BB4A7F#BB4A7F

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

Color values

HEX#BB4A7F
RGBrgb(187, 74, 127)
HSLhsl(332, 45%, 51%)
HSVhsv(332, 60%, 73%)
CMYKcmyk(0%, 60.4%, 32.1%, 26.7%)
CIE-LABlab(48.26, 50.80, -6.47)
CIE-LCHlch(48.26, 51.21, 352.74°)
OKLaboklab(57.43% 0.1547 -0.0165)
OKLCHoklch(57.43% 0.156 353.9)
XYZxyz(26.7744, 16.9974, 21.9453)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4A7F #4ABB86
analogous
#BB4AB8 #BB4A7F #BB4D4A
triadic
#BB4A7F #7FBB4A #4A7FBB
tetradic
#BB4A7F #B8BB4A #4ABB86 #4D4ABB
square
#BB4A7F #B8BB4A #4ABB86 #4D4ABB
split-complementary
#BB4A7F #4ABB4D #4AB8BB
monochromatic
#652643 #913761 #BB4A7F #CC769E #DCA3BE

Accessibility & contrast

On white

4.77
#BB4A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BB4A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4A7F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4A7F#FFFFFF#000000##FFFFFF
##BB4A7F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6681
Deuteranopia (green-blind)
#7A7A7C
Tritanopia (blue-blind)
#C8435F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb4a7f;
/* rgb */ color: rgb(187, 74, 127);
/* oklch */ color: oklch(57.4% 0.156 353.9);
Tailwind
colors: {
  custom: {
    50: '#d382a4',
    500: '#bb4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #bb4a7f;
$custom-light: #d382a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4a7f",
  "rgb": {
    "r": 187,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 331.858,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.15552,
    "h": 353.9
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#BB4A7F
secondary
#97C9B2
accent
#D59853
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BB4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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