#BB3174#BB3174

#BB3174 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.183 H 355.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BB3174
RGBrgb(187, 49, 116)
HSLhsl(331, 58%, 46%)
HSVhsv(331, 74%, 73%)
CMYKcmyk(0%, 73.8%, 38%, 26.7%)
CIE-LABlab(44.27, 59.49, -5.70)
CIE-LCHlch(44.27, 59.76, 354.53°)
OKLaboklab(54.37% 0.1826 -0.0143)
OKLCHoklch(54.37% 0.183 355.5)
XYZxyz(24.7459, 14.0254, 17.9237)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3174 #31BB78
analogous
#BB31B9 #BB3174 #BB3331
triadic
#BB3174 #74BB31 #3174BB
tetradic
#BB3174 #B9BB31 #31BB78 #3331BB
square
#BB3174 #B9BB31 #31BB78 #3331BB
split-complementary
#BB3174 #31BB33 #31B9BB
monochromatic
#5A1838 #8B2456 #BB3174 #D35693 #E087B2

Accessibility & contrast

On white

5.52
#BB3174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BB3174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3174
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3174#FFFFFF#000000##FFFFFF
##BB31741.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5876
Deuteranopia (green-blind)
#727271
Tritanopia (blue-blind)
#CA214E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb3174;
/* rgb */ color: rgb(187, 49, 116);
/* oklch */ color: oklch(54.4% 0.183 355.5);
Tailwind
colors: {
  custom: {
    50: '#d4759c',
    500: '#bb3174',
    950: '#000000',
  },
}
SCSS
$custom: #bb3174;
$custom-light: #d4759c;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3174",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 330.87,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.18314,
    "h": 355.5
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#BB3174
secondary
#7FC9A5
accent
#E29646
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB3174

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

Preview Lab → · Contrast checker → · Palette generator →

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