#BB315A#BB315A

#BB315A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.175 H 7.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BB315A
RGBrgb(187, 49, 90)
HSLhsl(342, 58%, 46%)
HSVhsv(342, 74%, 73%)
CMYKcmyk(0%, 73.8%, 51.9%, 26.7%)
CIE-LABlab(43.51, 57.04, 9.34)
CIE-LCHlch(43.51, 57.79, 9.30°)
OKLaboklab(53.56% 0.1737 0.024)
OKLCHoklch(53.56% 0.175 7.9)
XYZxyz(23.4394, 13.5028, 11.0429)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB315A #31BB92
analogous
#BB319F #BB315A #BB4D31
triadic
#BB315A #5ABB31 #315ABB
tetradic
#BB315A #9FBB31 #31BB92 #4D31BB
square
#BB315A #9FBB31 #31BB92 #4D31BB
split-complementary
#BB315A #31BB4D #319FBB
monochromatic
#5A182B #8B2443 #BB315A #D3567B #E087A1

Accessibility & contrast

On white

5.68
#BB315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BB315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB315A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB315A#FFFFFF#000000##FFFFFF
##BB315A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555B
Deuteranopia (green-blind)
#777157
Tritanopia (blue-blind)
#CC0F42
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb315a;
/* rgb */ color: rgb(187, 49, 90);
/* oklch */ color: oklch(53.6% 0.175 7.9);
Tailwind
colors: {
  custom: {
    50: '#d67588',
    500: '#bb315a',
    950: '#000000',
  },
}
SCSS
$custom: #bb315a;
$custom-light: #d67588;
$custom-dark: #000000;
JSON
{
  "hex": "#bb315a",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 342.174,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.17533,
    "h": 7.9
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#BB315A
secondary
#7FC9B3
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BB315A

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

Preview Lab → · Contrast checker → · Palette generator →

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