#BB317C#BB317C

#BB317C is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.187 H 351.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BB317C
RGBrgb(187, 49, 124)
HSLhsl(327, 58%, 46%)
HSVhsv(327, 74%, 73%)
CMYKcmyk(0%, 73.8%, 33.7%, 26.7%)
CIE-LABlab(44.55, 60.37, -10.20)
CIE-LCHlch(44.55, 61.23, 350.41°)
OKLaboklab(54.66% 0.1848 -0.0263)
OKLCHoklch(54.66% 0.187 351.9)
XYZxyz(25.2314, 14.2196, 20.4808)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB317C #31BB70
analogous
#B531BB #BB317C #BB3137
triadic
#BB317C #7CBB31 #317CBB
tetradic
#BB317C #BBB531 #31BB70 #3137BB
square
#BB317C #BBB531 #31BB70 #3137BB
split-complementary
#BB317C #37BB31 #31BBB5
monochromatic
#5A183C #8B245C #BB317C #D3569A #E087B7

Accessibility & contrast

On white

5.46
#BB317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB317C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB317C#FFFFFF#000000##FFFFFF
##BB317C1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#C92652
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb317c;
/* rgb */ color: rgb(187, 49, 124);
/* oklch */ color: oklch(54.7% 0.187 351.9);
Tailwind
colors: {
  custom: {
    50: '#d476a2',
    500: '#bb317c',
    950: '#000000',
  },
}
SCSS
$custom: #bb317c;
$custom-light: #d476a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb317c",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 327.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.18671,
    "h": 351.9
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#BB317C
secondary
#7FC9A1
accent
#E28D46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BB317C

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

Preview Lab → · Contrast checker → · Palette generator →

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