#BB315C#BB315C

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

Color values

HEX#BB315C
RGBrgb(187, 49, 92)
HSLhsl(341, 58%, 46%)
HSVhsv(341, 74%, 73%)
CMYKcmyk(0%, 73.8%, 50.8%, 26.7%)
CIE-LABlab(43.56, 57.20, 8.16)
CIE-LCHlch(43.56, 57.78, 8.12°)
OKLaboklab(53.62% 0.1744 0.0212)
OKLCHoklch(53.62% 0.176 6.9)
XYZxyz(23.5257, 13.5373, 11.4973)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB315C #31BB90
analogous
#BB31A1 #BB315C #BB4B31
triadic
#BB315C #5CBB31 #315CBB
tetradic
#BB315C #A1BB31 #31BB90 #4B31BB
square
#BB315C #A1BB31 #31BB90 #4B31BB
split-complementary
#BB315C #31BB4B #31A1BB
monochromatic
#5A182C #8B2444 #BB315C #D3567D #E087A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB315C#FFFFFF#000000##FFFFFF
##BB315C1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555D
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#CC1143
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb315c;
/* rgb */ color: rgb(187, 49, 92);
/* oklch */ color: oklch(53.6% 0.176 6.9);
Tailwind
colors: {
  custom: {
    50: '#d57589',
    500: '#bb315c',
    950: '#000000',
  },
}
SCSS
$custom: #bb315c;
$custom-light: #d57589;
$custom-dark: #000000;
JSON
{
  "hex": "#bb315c",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 341.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.1757,
    "h": 6.9
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#BB315C
secondary
#7FC9B2
accent
#E2B146
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BB315C

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

Preview Lab → · Contrast checker → · Palette generator →

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