#BB398E#BB398E

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

Color values

HEX#BB398E
RGBrgb(187, 57, 142)
HSLhsl(321, 53%, 48%)
HSVhsv(321, 70%, 73%)
CMYKcmyk(0%, 69.5%, 24.1%, 26.7%)
CIE-LABlab(46.24, 59.76, -18.58)
CIE-LCHlch(46.24, 62.58, 342.73°)
OKLaboklab(56.13% 0.1804 -0.0494)
OKLCHoklch(56.13% 0.187 344.7)
XYZxyz(26.8401, 15.4468, 27.1540)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB398E #39BB66
analogous
#A739BB #BB398E #BB394D
triadic
#BB398E #8EBB39 #398EBB
tetradic
#BB398E #BBA739 #39BB66 #394DBB
square
#BB398E #BBA739 #39BB66 #394DBB
split-complementary
#BB398E #4DBB39 #39BBA7
monochromatic
#5D1C47 #8C2B6A #BB398E #CF62A9 #DD91C3

Accessibility & contrast

On white

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

On black

4.09
#BB398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB398E#FFFFFF#000000##FFFFFF
##BB398E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476090
Deuteranopia (green-blind)
#6E768B
Tritanopia (blue-blind)
#C7385E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb398e;
/* rgb */ color: rgb(187, 57, 142);
/* oklch */ color: oklch(56.1% 0.187 344.7);
Tailwind
colors: {
  custom: {
    50: '#d37aaf',
    500: '#bb398e',
    950: '#000000',
  },
}
SCSS
$custom: #bb398e;
$custom-light: #d37aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb398e",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 320.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.187,
    "h": 344.7
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB398E

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

Preview Lab → · Contrast checker → · Palette generator →

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