#BB236C#BB236C

#BB236C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.194 H 357.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB236C
RGBrgb(187, 35, 108)
HSLhsl(331, 68%, 44%)
HSVhsv(331, 81%, 73%)
CMYKcmyk(0%, 81.3%, 42.2%, 26.7%)
CIE-LABlab(42.54, 62.83, -3.30)
CIE-LCHlch(42.54, 62.92, 356.99°)
OKLaboklab(53.02% 0.1934 -0.0079)
OKLCHoklch(53.02% 0.194 357.7)
XYZxyz(23.8031, 12.8527, 15.4118)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB236C #23BB72
analogous
#BB23B8 #BB236C #BB2623
triadic
#BB236C #6CBB23 #236CBB
tetradic
#BB236C #B8BB23 #23BB72 #2623BB
square
#BB236C #B8BB23 #23BB72 #2623BB
split-complementary
#BB236C #23BB26 #23B8BB
monochromatic
#541030 #87194E #BB236C #DB408B #E574AA

Accessibility & contrast

On white

5.88
#BB236C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BB236C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB236C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB236C#FFFFFF#000000##FFFFFF
##BB236C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526E
Deuteranopia (green-blind)
#706F69
Tritanopia (blue-blind)
#CB0045
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #bb236c;
/* rgb */ color: rgb(187, 35, 108);
/* oklch */ color: oklch(53.0% 0.194 357.7);
Tailwind
colors: {
  custom: {
    50: '#d57096',
    500: '#bb236c',
    950: '#000000',
  },
}
SCSS
$custom: #bb236c;
$custom-light: #d57096;
$custom-dark: #000000;
JSON
{
  "hex": "#bb236c",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 331.184,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.19357,
    "h": 357.7
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#BB236C
secondary
#6ECC9F
accent
#EB973C
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB236C

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

Preview Lab → · Contrast checker → · Palette generator →

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