#BB398F#BB398F

#BB398F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.188 H 344.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB398F
RGBrgb(187, 57, 143)
HSLhsl(320, 53%, 48%)
HSVhsv(320, 70%, 73%)
CMYKcmyk(0%, 69.5%, 23.5%, 26.7%)
CIE-LABlab(46.28, 59.89, -19.12)
CIE-LCHlch(46.28, 62.87, 342.29°)
OKLaboklab(56.17% 0.1806 -0.0509)
OKLCHoklch(56.17% 0.188 344.2)
XYZxyz(26.9156, 15.4770, 27.5511)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB398F #39BB65
analogous
#A639BB #BB398F #BB394E
triadic
#BB398F #8FBB39 #398FBB
tetradic
#BB398F #BBA639 #39BB65 #394EBB
square
#BB398F #BBA639 #39BB65 #394EBB
split-complementary
#BB398F #4EBB39 #39BBA6
monochromatic
#5D1C47 #8C2B6B #BB398F #CF62AA #DD91C4

Accessibility & contrast

On white

5.13
#BB398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB398F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB398F#FFFFFF#000000##FFFFFF
##BB398F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#C7385F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb398f;
/* rgb */ color: rgb(187, 57, 143);
/* oklch */ color: oklch(56.2% 0.188 344.2);
Tailwind
colors: {
  custom: {
    50: '#d37ab0',
    500: '#bb398f',
    950: '#000000',
  },
}
SCSS
$custom: #bb398f;
$custom-light: #d37ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb398f",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 320.308,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.18761,
    "h": 344.2
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#BB398F
secondary
#87C89D
accent
#DD7C4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB398F

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

Preview Lab → · Contrast checker → · Palette generator →

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