#BB4797#BB4797

#BB4797 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.174 H 341.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB4797
RGBrgb(187, 71, 151)
HSLhsl(319, 46%, 51%)
HSVhsv(319, 62%, 73%)
CMYKcmyk(0%, 62%, 19.3%, 26.7%)
CIE-LABlab(48.65, 55.36, -20.28)
CIE-LCHlch(48.65, 58.96, 339.88°)
OKLaboklab(58.01% 0.1651 -0.0543)
OKLCHoklch(58.01% 0.174 341.8)
XYZxyz(28.3334, 17.3082, 31.1208)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4797 #47BB6B
analogous
#A547BB #BB4797 #BB475D
triadic
#BB4797 #97BB47 #4797BB
tetradic
#BB4797 #BBA547 #47BB6B #475DBB
square
#BB4797 #BBA547 #47BB6B #475DBB
split-complementary
#BB4797 #5DBB47 #47BBA5
monochromatic
#632550 #903574 #BB4797 #CC74B0 #DCA0CA

Accessibility & contrast

On white

4.71
#BB4797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BB4797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4797
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4797#FFFFFF#000000##FFFFFF
##BB47971.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6899
Deuteranopia (green-blind)
#717A94
Tritanopia (blue-blind)
#C64869
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb4797;
/* rgb */ color: rgb(187, 71, 151);
/* oklch */ color: oklch(58.0% 0.174 341.8);
Tailwind
colors: {
  custom: {
    50: '#d381b5',
    500: '#bb4797',
    950: '#000000',
  },
}
SCSS
$custom: #bb4797;
$custom-light: #d381b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4797",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 318.621,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.17378,
    "h": 341.8
  },
  "luminance": 0.17306
}

Semantic roles & 50–950 ramp

primary
#BB4797
secondary
#95C9A5
accent
#D67B52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #BB4797

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

Preview Lab → · Contrast checker → · Palette generator →

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