#BB315D#BB315D

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

Color values

HEX#BB315D
RGBrgb(187, 49, 93)
HSLhsl(341, 58%, 46%)
HSVhsv(341, 74%, 73%)
CMYKcmyk(0%, 73.8%, 50.3%, 26.7%)
CIE-LABlab(43.59, 57.29, 7.58)
CIE-LCHlch(43.59, 57.78, 7.53°)
OKLaboklab(53.64% 0.1748 0.0198)
OKLCHoklch(53.64% 0.176 6.4)
XYZxyz(23.5697, 13.5549, 11.7290)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB315D #31BB8F
analogous
#BB31A2 #BB315D #BB4A31
triadic
#BB315D #5DBB31 #315DBB
tetradic
#BB315D #A2BB31 #31BB8F #4A31BB
square
#BB315D #A2BB31 #31BB8F #4A31BB
split-complementary
#BB315D #31BB4A #31A2BB
monochromatic
#5A182D #8B2445 #BB315D #D3567E #E087A3

Accessibility & contrast

On white

5.66
#BB315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB315D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB315D#FFFFFF#000000##FFFFFF
##BB315D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555E
Deuteranopia (green-blind)
#77715A
Tritanopia (blue-blind)
#CC1143
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb315d;
/* rgb */ color: rgb(187, 49, 93);
/* oklch */ color: oklch(53.6% 0.176 6.4);
Tailwind
colors: {
  custom: {
    50: '#d5758a',
    500: '#bb315d',
    950: '#000000',
  },
}
SCSS
$custom: #bb315d;
$custom-light: #d5758a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb315d",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 340.87,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.1759,
    "h": 6.4
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#BB315D
secondary
#7FC9B1
accent
#E2B046
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BB315D

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

Preview Lab → · Contrast checker → · Palette generator →

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