#BB4798#BB4798

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

Color values

HEX#BB4798
RGBrgb(187, 71, 152)
HSLhsl(318, 46%, 51%)
HSVhsv(318, 62%, 73%)
CMYKcmyk(0%, 62%, 18.7%, 26.7%)
CIE-LABlab(48.69, 55.51, -20.82)
CIE-LCHlch(48.69, 59.28, 339.44°)
OKLaboklab(58.05% 0.1653 -0.0558)
OKLCHoklch(58.05% 0.174 341.3)
XYZxyz(28.4149, 17.3408, 31.5503)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4798 #47BB6A
analogous
#A447BB #BB4798 #BB475E
triadic
#BB4798 #98BB47 #4798BB
tetradic
#BB4798 #BBA447 #47BB6A #475EBB
square
#BB4798 #BBA447 #47BB6A #475EBB
split-complementary
#BB4798 #5EBB47 #47BBA4
monochromatic
#632550 #903574 #BB4798 #CC74B1 #DCA0CA

Accessibility & contrast

On white

4.70
#BB4798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BB4798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4798
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4798#FFFFFF#000000##FFFFFF
##BB47981.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689A
Deuteranopia (green-blind)
#717B95
Tritanopia (blue-blind)
#C64969
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb4798;
/* rgb */ color: rgb(187, 71, 152);
/* oklch */ color: oklch(58.1% 0.174 341.3);
Tailwind
colors: {
  custom: {
    50: '#d381b6',
    500: '#bb4798',
    950: '#000000',
  },
}
SCSS
$custom: #bb4798;
$custom-light: #d381b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4798",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 318.103,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.17445,
    "h": 341.3
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#BB4798
secondary
#95C9A5
accent
#D67A52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BB4798

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

Preview Lab → · Contrast checker → · Palette generator →

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