#BB54A2#BB54A2

#BB54A2 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.1% C 0.162 H 337.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB54A2
RGBrgb(187, 84, 162)
HSLhsl(315, 43%, 53%)
HSVhsv(315, 55%, 73%)
CMYKcmyk(0%, 55.1%, 13.4%, 26.7%)
CIE-LABlab(51.29, 51.11, -22.74)
CIE-LCHlch(51.29, 55.94, 336.02°)
OKLaboklab(60.1% 0.1497 -0.0613)
OKLCHoklch(60.1% 0.162 337.7)
XYZxyz(30.1858, 19.5164, 36.3526)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54A2 #54BB6D
analogous
#A054BB #BB54A2 #BB546E
triadic
#BB54A2 #A2BB54 #54A2BB
tetradic
#BB54A2 #BBA054 #54BB6D #546EBB
square
#BB54A2 #BBA054 #54BB6D #546EBB
split-complementary
#BB54A2 #6EBB54 #54BBA0
monochromatic
#6A2A5B #963C80 #BB54A2 #CC80BA #DEACD2

Accessibility & contrast

On white

4.28
#BB54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BB54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54A2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54A2#FFFFFF#000000##000000
##BB54A21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#C45874
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb54a2;
/* rgb */ color: rgb(187, 84, 162);
/* oklch */ color: oklch(60.1% 0.162 337.7);
Tailwind
colors: {
  custom: {
    50: '#d289bd',
    500: '#bb54a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb54a2;
$custom-light: #d289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54a2",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 314.563,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.601,
    "c": 0.1618,
    "h": 337.7
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#BB54A2
secondary
#9FCCAA
accent
#D37455
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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