#BB5FA3#BB5FA3

#BB5FA3 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.144 H 338.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB5FA3
RGBrgb(187, 95, 163)
HSLhsl(316, 40%, 55%)
HSVhsv(316, 49%, 73%)
CMYKcmyk(0%, 49.2%, 12.8%, 26.7%)
CIE-LABlab(53.38, 45.85, -20.11)
CIE-LCHlch(53.38, 50.06, 336.32°)
OKLaboklab(61.67% 0.134 -0.054)
OKLCHoklch(61.67% 0.145 338)
XYZxyz(31.1968, 21.3957, 37.1299)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA3 #5FBB77
analogous
#A55FBB #BB5FA3 #BB5F75
triadic
#BB5FA3 #A3BB5F #5FA3BB
tetradic
#BB5FA3 #BBA55F #5FBB77 #5F75BB
square
#BB5FA3 #BBA55F #5FBB77 #5F75BB
split-complementary
#BB5FA3 #75BB5F #5FBBA5
monochromatic
#70305F #9B4284 #BB5FA3 #CD8ABC #E0B5D4

Accessibility & contrast

On white

3.98
#BB5FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BB5FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FA3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FA3#FFFFFF#000000##000000
##BB5FA31.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A5
Deuteranopia (green-blind)
#7B85A0
Tritanopia (blue-blind)
#C46279
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5fa3;
/* rgb */ color: rgb(187, 95, 163);
/* oklch */ color: oklch(61.7% 0.144 338.0);
Tailwind
colors: {
  custom: {
    50: '#d18fbe',
    500: '#bb5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa3;
$custom-light: #d18fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa3",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 315.652,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.1445,
    "h": 338
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

primary
#BB5FA3
secondary
#A8CEB2
accent
#D07758
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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