#BB315F#BB315F

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

Color values

HEX#BB315F
RGBrgb(187, 49, 95)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 74%, 73%)
CMYKcmyk(0%, 73.8%, 49.2%, 26.7%)
CIE-LABlab(43.64, 57.46, 6.40)
CIE-LCHlch(43.64, 57.81, 6.36°)
OKLaboklab(53.7% 0.1755 0.0169)
OKLCHoklch(53.7% 0.176 5.5)
XYZxyz(23.6594, 13.5908, 12.2017)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB315F #31BB8D
analogous
#BB31A4 #BB315F #BB4831
triadic
#BB315F #5FBB31 #315FBB
tetradic
#BB315F #A4BB31 #31BB8D #4831BB
square
#BB315F #A4BB31 #31BB8D #4831BB
split-complementary
#BB315F #31BB48 #31A4BB
monochromatic
#5A182E #8B2446 #BB315F #D35680 #E087A4

Accessibility & contrast

On white

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

On black

3.72
#BB315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB315F#FFFFFF#000000##FFFFFF
##BB315F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525660
Deuteranopia (green-blind)
#77715C
Tritanopia (blue-blind)
#CC1344
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb315f;
/* rgb */ color: rgb(187, 49, 95);
/* oklch */ color: oklch(53.7% 0.176 5.5);
Tailwind
colors: {
  custom: {
    50: '#d5758c',
    500: '#bb315f',
    950: '#000000',
  },
}
SCSS
$custom: #bb315f;
$custom-light: #d5758c;
$custom-dark: #000000;
JSON
{
  "hex": "#bb315f",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 340,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.17634,
    "h": 5.5
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#BB315F
secondary
#7FC9B0
accent
#E2AE46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BB315F

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

Preview Lab → · Contrast checker → · Palette generator →

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