#BB397D#BB397D

#BB397D is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.178 H 352.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BB397D
RGBrgb(187, 57, 125)
HSLhsl(329, 53%, 48%)
HSVhsv(329, 70%, 73%)
CMYKcmyk(0%, 69.5%, 33.2%, 26.7%)
CIE-LABlab(45.60, 57.64, -9.23)
CIE-LCHlch(45.60, 58.37, 350.90°)
OKLaboklab(55.45% 0.1762 -0.0238)
OKLCHoklch(55.45% 0.178 352.3)
XYZxyz(25.6597, 14.9746, 20.9372)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB397D #39BB77
analogous
#B839BB #BB397D #BB393C
triadic
#BB397D #7DBB39 #397DBB
tetradic
#BB397D #BBB839 #39BB77 #393CBB
square
#BB397D #BBB839 #39BB77 #393CBB
split-complementary
#BB397D #3CBB39 #39BBB8
monochromatic
#5D1C3E #8C2B5E #BB397D #CF629B #DD91B9

Accessibility & contrast

On white

5.26
#BB397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BB397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB397D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB397D#FFFFFF#000000##FFFFFF
##BB397D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#73757A
Tritanopia (blue-blind)
#C93056
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb397d;
/* rgb */ color: rgb(187, 57, 125);
/* oklch */ color: oklch(55.4% 0.178 352.3);
Tailwind
colors: {
  custom: {
    50: '#d479a2',
    500: '#bb397d',
    950: '#000000',
  },
}
SCSS
$custom: #bb397d;
$custom-light: #d479a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb397d",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 328.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.17777,
    "h": 352.3
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#BB397D
secondary
#87C8A6
accent
#DD914B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BB397D

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

Preview Lab → · Contrast checker → · Palette generator →

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