#BB317D#BB317D

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

Color values

HEX#BB317D
RGBrgb(187, 49, 125)
HSLhsl(327, 58%, 46%)
HSVhsv(327, 74%, 73%)
CMYKcmyk(0%, 73.8%, 33.2%, 26.7%)
CIE-LABlab(44.58, 60.48, -10.76)
CIE-LCHlch(44.58, 61.43, 349.91°)
OKLaboklab(54.7% 0.1851 -0.0279)
OKLCHoklch(54.7% 0.187 351.4)
XYZxyz(25.2949, 14.2451, 20.8156)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB317D #31BB6F
analogous
#B431BB #BB317D #BB3138
triadic
#BB317D #7DBB31 #317DBB
tetradic
#BB317D #BBB431 #31BB6F #3138BB
square
#BB317D #BBB431 #31BB6F #3138BB
split-complementary
#BB317D #38BB31 #31BBB4
monochromatic
#5A183C #8B245D #BB317D #D3569B #E087B8

Accessibility & contrast

On white

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

On black

3.85
#BB317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB317D#FFFFFF#000000##FFFFFF
##BB317D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#70727A
Tritanopia (blue-blind)
#C92753
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb317d;
/* rgb */ color: rgb(187, 49, 125);
/* oklch */ color: oklch(54.7% 0.187 351.4);
Tailwind
colors: {
  custom: {
    50: '#d476a2',
    500: '#bb317d',
    950: '#000000',
  },
}
SCSS
$custom: #bb317d;
$custom-light: #d476a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb317d",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 326.957,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.547,
    "c": 0.1872,
    "h": 351.4
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#BB317D
secondary
#7FC9A0
accent
#E28C46
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BB317D

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

Preview Lab → · Contrast checker → · Palette generator →

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