#BB315B#BB315B

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

Color values

HEX#BB315B
RGBrgb(187, 49, 91)
HSLhsl(342, 58%, 46%)
HSVhsv(342, 74%, 73%)
CMYKcmyk(0%, 73.8%, 51.3%, 26.7%)
CIE-LABlab(43.54, 57.12, 8.75)
CIE-LCHlch(43.54, 57.78, 8.71°)
OKLaboklab(53.59% 0.174 0.0226)
OKLCHoklch(53.59% 0.176 7.4)
XYZxyz(23.4822, 13.5200, 11.2686)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB315B #31BB91
analogous
#BB31A0 #BB315B #BB4C31
triadic
#BB315B #5BBB31 #315BBB
tetradic
#BB315B #A0BB31 #31BB91 #4C31BB
square
#BB315B #A0BB31 #31BB91 #4C31BB
split-complementary
#BB315B #31BB4C #31A0BB
monochromatic
#5A182C #8B2443 #BB315B #D3567C #E087A2

Accessibility & contrast

On white

5.67
#BB315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB315B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB315B#FFFFFF#000000##FFFFFF
##BB315B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555C
Deuteranopia (green-blind)
#777158
Tritanopia (blue-blind)
#CC1043
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb315b;
/* rgb */ color: rgb(187, 49, 91);
/* oklch */ color: oklch(53.6% 0.175 7.4);
Tailwind
colors: {
  custom: {
    50: '#d57589',
    500: '#bb315b',
    950: '#000000',
  },
}
SCSS
$custom: #bb315b;
$custom-light: #d57589;
$custom-dark: #000000;
JSON
{
  "hex": "#bb315b",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 341.739,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.1755,
    "h": 7.4
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#BB315B
secondary
#7FC9B2
accent
#E2B246
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BB315B

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

Preview Lab → · Contrast checker → · Palette generator →

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