#BB319A#BB319A

#BB319A is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 55.9% C 0.204 H 339.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB319A
RGBrgb(187, 49, 154)
HSLhsl(314, 58%, 46%)
HSVhsv(314, 74%, 73%)
CMYKcmyk(0%, 73.8%, 17.6%, 26.7%)
CIE-LABlab(45.77, 64.16, -26.53)
CIE-LCHlch(45.77, 69.43, 337.54°)
OKLaboklab(55.95% 0.1909 -0.0717)
OKLCHoklch(55.95% 0.204 339.4)
XYZxyz(27.4253, 15.0972, 32.0353)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB319A #31BB52
analogous
#9731BB #BB319A #BB3155
triadic
#BB319A #9ABB31 #319ABB
tetradic
#BB319A #BB9731 #31BB52 #3155BB
square
#BB319A #BB9731 #31BB52 #3155BB
split-complementary
#BB319A #55BB31 #31BB97
monochromatic
#5A184A #8B2472 #BB319A #D356B5 #E087CA

Accessibility & contrast

On white

5.23
#BB319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB319A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB319A#FFFFFF#000000##FFFFFF
##BB319A1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9D
Deuteranopia (green-blind)
#677497
Tritanopia (blue-blind)
#C63662
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb319a;
/* rgb */ color: rgb(187, 49, 154);
/* oklch */ color: oklch(55.9% 0.204 339.4);
Tailwind
colors: {
  custom: {
    50: '#d377b8',
    500: '#bb319a',
    950: '#000000',
  },
}
SCSS
$custom: #bb319a;
$custom-light: #d377b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb319a",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 314.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.20393,
    "h": 339.4
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#BB319A
secondary
#7FC990
accent
#E26B46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB319A

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

Preview Lab → · Contrast checker → · Palette generator →

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