#BB316E#BB316E

#BB316E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.181 H 358.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BB316E
RGBrgb(187, 49, 110)
HSLhsl(333, 58%, 46%)
HSVhsv(333, 74%, 73%)
CMYKcmyk(0%, 73.8%, 41.2%, 26.7%)
CIE-LABlab(44.08, 58.87, -2.28)
CIE-LCHlch(44.08, 58.91, 357.78°)
OKLaboklab(54.16% 0.1807 -0.0052)
OKLCHoklch(54.16% 0.181 358.3)
XYZxyz(24.4081, 13.8903, 16.1446)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB316E #31BB7E
analogous
#BB31B3 #BB316E #BB3931
triadic
#BB316E #6EBB31 #316EBB
tetradic
#BB316E #B3BB31 #31BB7E #3931BB
square
#BB316E #B3BB31 #31BB7E #3931BB
split-complementary
#BB316E #31BB39 #31B3BB
monochromatic
#5A1835 #8B2451 #BB316E #D3568D #E087AE

Accessibility & contrast

On white

5.56
#BB316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BB316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB316E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB316E#FFFFFF#000000##FFFFFF
##BB316E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5870
Deuteranopia (green-blind)
#74726B
Tritanopia (blue-blind)
#CA1E4B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb316e;
/* rgb */ color: rgb(187, 49, 110);
/* oklch */ color: oklch(54.2% 0.181 358.3);
Tailwind
colors: {
  custom: {
    50: '#d57597',
    500: '#bb316e',
    950: '#000000',
  },
}
SCSS
$custom: #bb316e;
$custom-light: #d57597;
$custom-dark: #000000;
JSON
{
  "hex": "#bb316e",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 333.478,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.18079,
    "h": 358.3
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#BB316E
secondary
#7FC9A8
accent
#E29D46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB316E

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

Preview Lab → · Contrast checker → · Palette generator →

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