#BB2F5D#BB2F5D

#BB2F5D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.178 H 6.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BB2F5D
RGBrgb(187, 47, 93)
HSLhsl(340, 60%, 46%)
HSVhsv(340, 75%, 73%)
CMYKcmyk(0%, 74.9%, 50.3%, 26.7%)
CIE-LABlab(43.35, 57.96, 7.23)
CIE-LCHlch(43.35, 58.41, 7.11°)
OKLaboklab(53.47% 0.177 0.0189)
OKLCHoklch(53.47% 0.178 6.1)
XYZxyz(23.4879, 13.3914, 11.7018)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F5D #2FBB8D
analogous
#BB2FA3 #BB2F5D #BB472F
triadic
#BB2F5D #5DBB2F #2F5DBB
tetradic
#BB2F5D #A3BB2F #2FBB8D #472FBB
square
#BB2F5D #A3BB2F #2FBB8D #472FBB
split-complementary
#BB2F5D #2FBB47 #2FA3BB
monochromatic
#59162C #8A2345 #BB2F5D #D4537E #E084A2

Accessibility & contrast

On white

5.71
#BB2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BB2F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F5D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F5D#FFFFFF#000000##FFFFFF
##BB2F5D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555E
Deuteranopia (green-blind)
#76705A
Tritanopia (blue-blind)
#CC0C42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bb2f5d;
/* rgb */ color: rgb(187, 47, 93);
/* oklch */ color: oklch(53.5% 0.178 6.1);
Tailwind
colors: {
  custom: {
    50: '#d5748a',
    500: '#bb2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f5d;
$custom-light: #d5748a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f5d",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 340.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.17797,
    "h": 6.1
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#BB2F5D
secondary
#7CC9B0
accent
#E3AF45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BB2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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