#BB239A#BB239A

#BB239A is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.9% C 0.217 H 339.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BB239A
RGBrgb(187, 35, 154)
HSLhsl(313, 68%, 44%)
HSVhsv(313, 81%, 73%)
CMYKcmyk(0%, 81.3%, 17.6%, 26.7%)
CIE-LABlab(44.38, 68.13, -28.69)
CIE-LCHlch(44.38, 73.93, 337.17°)
OKLaboklab(54.95% 0.2029 -0.0778)
OKLCHoklch(54.95% 0.217 339)
XYZxyz(26.9280, 14.1027, 31.8695)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB239A #23BB44
analogous
#9023BB #BB239A #BB234E
triadic
#BB239A #9ABB23 #239ABB
tetradic
#BB239A #BB9023 #23BB44 #234EBB
square
#BB239A #BB9023 #23BB44 #234EBB
split-complementary
#BB239A #4EBB23 #23BB90
monochromatic
#541045 #871970 #BB239A #DB40BA #E574CC

Accessibility & contrast

On white

5.50
#BB239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BB239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB239A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB239A#FFFFFF#000000##FFFFFF
##BB239A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#C62B5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb239a;
/* rgb */ color: rgb(187, 35, 154);
/* oklch */ color: oklch(54.9% 0.217 339.0);
Tailwind
colors: {
  custom: {
    50: '#d471b8',
    500: '#bb239a',
    950: '#000000',
  },
}
SCSS
$custom: #bb239a;
$custom-light: #d471b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb239a",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 313.026,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.21732,
    "h": 339
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#BB239A
secondary
#6ECC82
accent
#EB623C
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB239A

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

Preview Lab → · Contrast checker → · Palette generator →

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