#BB398D#BB398D

#BB398D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.186 H 345.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB398D
RGBrgb(187, 57, 141)
HSLhsl(321, 53%, 48%)
HSVhsv(321, 70%, 73%)
CMYKcmyk(0%, 69.5%, 24.6%, 26.7%)
CIE-LABlab(46.20, 59.63, -18.04)
CIE-LCHlch(46.20, 62.29, 343.17°)
OKLaboklab(56.08% 0.1801 -0.0479)
OKLCHoklch(56.08% 0.186 345.1)
XYZxyz(26.7654, 15.4169, 26.7603)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB398D #39BB67
analogous
#A839BB #BB398D #BB394C
triadic
#BB398D #8DBB39 #398DBB
tetradic
#BB398D #BBA839 #39BB67 #394CBB
square
#BB398D #BBA839 #39BB67 #394CBB
split-complementary
#BB398D #4CBB39 #39BBA8
monochromatic
#5D1C46 #8C2B6A #BB398D #CF62A9 #DD91C2

Accessibility & contrast

On white

5.14
#BB398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB398D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB398D#FFFFFF#000000##FFFFFF
##BB398D1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8F
Deuteranopia (green-blind)
#6E758A
Tritanopia (blue-blind)
#C7375E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb398d;
/* rgb */ color: rgb(187, 57, 141);
/* oklch */ color: oklch(56.1% 0.186 345.1);
Tailwind
colors: {
  custom: {
    50: '#d37aae',
    500: '#bb398d',
    950: '#000000',
  },
}
SCSS
$custom: #bb398d;
$custom-light: #d37aae;
$custom-dark: #000000;
JSON
{
  "hex": "#bb398d",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 321.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.18641,
    "h": 345.1
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#BB398D
secondary
#87C89E
accent
#DD7F4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB398D

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

Preview Lab → · Contrast checker → · Palette generator →

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