#BB315E#BB315E

#BB315E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.176 H 6.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BB315E
RGBrgb(187, 49, 94)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 74%, 73%)
CMYKcmyk(0%, 73.8%, 49.7%, 26.7%)
CIE-LABlab(43.61, 57.37, 6.99)
CIE-LCHlch(43.61, 57.79, 6.95°)
OKLaboklab(53.67% 0.1752 0.0183)
OKLCHoklch(53.67% 0.176 6)
XYZxyz(23.6142, 13.5728, 11.9638)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB315E #31BB8E
analogous
#BB31A3 #BB315E #BB4931
triadic
#BB315E #5EBB31 #315EBB
tetradic
#BB315E #A3BB31 #31BB8E #4931BB
square
#BB315E #A3BB31 #31BB8E #4931BB
split-complementary
#BB315E #31BB49 #31A3BB
monochromatic
#5A182D #8B2446 #BB315E #D3567F #E087A4

Accessibility & contrast

On white

5.65
#BB315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BB315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB315E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB315E#FFFFFF#000000##FFFFFF
##BB315E1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52565F
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#CC1244
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb315e;
/* rgb */ color: rgb(187, 49, 94);
/* oklch */ color: oklch(53.7% 0.176 6.0);
Tailwind
colors: {
  custom: {
    50: '#d5758b',
    500: '#bb315e',
    950: '#000000',
  },
}
SCSS
$custom: #bb315e;
$custom-light: #d5758b;
$custom-dark: #000000;
JSON
{
  "hex": "#bb315e",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 340.435,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.17611,
    "h": 6
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#BB315E
secondary
#7FC9B1
accent
#E2AF46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BB315E

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

Preview Lab → · Contrast checker → · Palette generator →

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