#BB427C#BB427C

#BB427C is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.166 H 354.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB427C
RGBrgb(187, 66, 124)
HSLhsl(331, 48%, 50%)
HSVhsv(331, 65%, 73%)
CMYKcmyk(0%, 64.7%, 33.7%, 26.7%)
CIE-LABlab(46.87, 53.93, -6.73)
CIE-LCHlch(46.87, 54.35, 352.89°)
OKLaboklab(56.37% 0.1646 -0.0171)
OKLCHoklch(56.37% 0.166 354.1)
XYZxyz(26.0812, 15.9193, 20.7641)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB427C #42BB81
analogous
#BB42B8 #BB427C #BB4542
triadic
#BB427C #7CBB42 #427CBB
tetradic
#BB427C #B8BB42 #42BB81 #4542BB
square
#BB427C #B8BB42 #42BB81 #4542BB
split-complementary
#BB427C #42BB45 #42B8BB
monochromatic
#612240 #8E325E #BB427C #CC6E9B #DC9CBA

Accessibility & contrast

On white

5.02
#BB427C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BB427C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB427C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB427C#FFFFFF#000000##FFFFFF
##BB427C1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#777779
Tritanopia (blue-blind)
#C9395A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb427c;
/* rgb */ color: rgb(187, 66, 124);
/* oklch */ color: oklch(56.4% 0.166 354.1);
Tailwind
colors: {
  custom: {
    50: '#d37ea1',
    500: '#bb427c',
    950: '#000000',
  },
}
SCSS
$custom: #bb427c;
$custom-light: #d37ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb427c",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 331.24,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.1655,
    "h": 354.1
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#BB427C
secondary
#91C8AE
accent
#D79750
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BB427C

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

Preview Lab → · Contrast checker → · Palette generator →

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