#BB317B#BB317B

#BB317B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.186 H 352.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BB317B
RGBrgb(187, 49, 123)
HSLhsl(328, 58%, 46%)
HSVhsv(328, 74%, 73%)
CMYKcmyk(0%, 73.8%, 34.2%, 26.7%)
CIE-LABlab(44.51, 60.26, -9.64)
CIE-LCHlch(44.51, 61.02, 350.91°)
OKLaboklab(54.62% 0.1846 -0.0248)
OKLCHoklch(54.62% 0.186 352.3)
XYZxyz(25.1685, 14.1945, 20.1495)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB317B #31BB71
analogous
#B631BB #BB317B #BB3136
triadic
#BB317B #7BBB31 #317BBB
tetradic
#BB317B #BBB631 #31BB71 #3136BB
square
#BB317B #BBB631 #31BB71 #3136BB
split-complementary
#BB317B #36BB31 #31BBB6
monochromatic
#5A183B #8B245B #BB317B #D35699 #E087B6

Accessibility & contrast

On white

5.47
#BB317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BB317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB317B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB317B#FFFFFF#000000##FFFFFF
##BB317B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#717278
Tritanopia (blue-blind)
#C92552
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb317b;
/* rgb */ color: rgb(187, 49, 123);
/* oklch */ color: oklch(54.6% 0.186 352.3);
Tailwind
colors: {
  custom: {
    50: '#d476a1',
    500: '#bb317b',
    950: '#000000',
  },
}
SCSS
$custom: #bb317b;
$custom-light: #d476a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb317b",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 327.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.18624,
    "h": 352.3
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#BB317B
secondary
#7FC9A1
accent
#E28E46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB317B

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

Preview Lab → · Contrast checker → · Palette generator →

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