#BB397F#BB397F

#BB397F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.5% C 0.179 H 351.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB397F
RGBrgb(187, 57, 127)
HSLhsl(328, 53%, 48%)
HSVhsv(328, 70%, 73%)
CMYKcmyk(0%, 69.5%, 32.1%, 26.7%)
CIE-LABlab(45.67, 57.87, -10.35)
CIE-LCHlch(45.67, 58.79, 349.86°)
OKLaboklab(55.52% 0.1767 -0.0268)
OKLCHoklch(55.52% 0.179 351.4)
XYZxyz(25.7888, 15.0263, 21.6168)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB397F #39BB75
analogous
#B639BB #BB397F #BB393E
triadic
#BB397F #7FBB39 #397FBB
tetradic
#BB397F #BBB639 #39BB75 #393EBB
square
#BB397F #BBB639 #39BB75 #393EBB
split-complementary
#BB397F #3EBB39 #39BBB6
monochromatic
#5D1C3F #8C2B5F #BB397F #CF629D #DD91BA

Accessibility & contrast

On white

5.24
#BB397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB397F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB397F#FFFFFF#000000##FFFFFF
##BB397F1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D81
Deuteranopia (green-blind)
#72757C
Tritanopia (blue-blind)
#C93157
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb397f;
/* rgb */ color: rgb(187, 57, 127);
/* oklch */ color: oklch(55.5% 0.179 351.4);
Tailwind
colors: {
  custom: {
    50: '#d479a4',
    500: '#bb397f',
    950: '#000000',
  },
}
SCSS
$custom: #bb397f;
$custom-light: #d479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb397f",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 327.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.17874,
    "h": 351.4
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#BB397F
secondary
#87C8A5
accent
#DD8E4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BB397F

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

Preview Lab → · Contrast checker → · Palette generator →

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