#BB398A#BB398A

#BB398A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.185 H 346.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB398A
RGBrgb(187, 57, 138)
HSLhsl(323, 53%, 48%)
HSVhsv(323, 70%, 73%)
CMYKcmyk(0%, 69.5%, 26.2%, 26.7%)
CIE-LABlab(46.08, 59.24, -16.40)
CIE-LCHlch(46.08, 61.47, 344.52°)
OKLaboklab(55.96% 0.1795 -0.0434)
OKLCHoklch(55.96% 0.185 346.4)
XYZxyz(26.5452, 15.3288, 25.6006)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB398A #39BB6A
analogous
#AB39BB #BB398A #BB3949
triadic
#BB398A #8ABB39 #398ABB
tetradic
#BB398A #BBAB39 #39BB6A #3949BB
square
#BB398A #BBAB39 #39BB6A #3949BB
split-complementary
#BB398A #49BB39 #39BBAB
monochromatic
#5D1C45 #8C2B67 #BB398A #CF62A6 #DD91C1

Accessibility & contrast

On white

5.17
#BB398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BB398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB398A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB398A#FFFFFF#000000##FFFFFF
##BB398A1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#C8365C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb398a;
/* rgb */ color: rgb(187, 57, 138);
/* oklch */ color: oklch(56.0% 0.185 346.4);
Tailwind
colors: {
  custom: {
    50: '#d37aac',
    500: '#bb398a',
    950: '#000000',
  },
}
SCSS
$custom: #bb398a;
$custom-light: #d37aac;
$custom-dark: #000000;
JSON
{
  "hex": "#bb398a",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 322.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.18464,
    "h": 346.4
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

primary
#BB398A
secondary
#87C8A0
accent
#DD824B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB398A

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

Preview Lab → · Contrast checker → · Palette generator →

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