#BD2F7B#BD2F7B

#BD2F7B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.190 H 352.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BD2F7B
RGBrgb(189, 47, 123)
HSLhsl(328, 60%, 46%)
HSVhsv(328, 75%, 74%)
CMYKcmyk(0%, 75.1%, 34.9%, 25.9%)
CIE-LABlab(44.64, 61.44, -9.41)
CIE-LCHlch(44.64, 62.16, 351.29°)
OKLaboklab(54.78% 0.1884 -0.0242)
OKLCHoklch(54.78% 0.19 352.7)
XYZxyz(25.5795, 14.2850, 20.1453)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2F7B #2FBD71
analogous
#B82FBD #BD2F7B #BD2F34
triadic
#BD2F7B #7BBD2F #2F7BBD
tetradic
#BD2F7B #BDB82F #2FBD71 #2F34BD
square
#BD2F7B #BDB82F #2FBD71 #2F34BD
split-complementary
#BD2F7B #34BD2F #2FBDB8
monochromatic
#5B173B #8C235B #BD2F7B #D55599 #E186B6

Accessibility & contrast

On white

5.45
#BD2F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BD2F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD2F7B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD2F7B#FFFFFF#000000##FFFFFF
##BD2F7B1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#717378
Tritanopia (blue-blind)
#CC2251
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd2f7b;
/* rgb */ color: rgb(189, 47, 123);
/* oklch */ color: oklch(54.8% 0.190 352.7);
Tailwind
colors: {
  custom: {
    50: '#d675a1',
    500: '#bd2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #bd2f7b;
$custom-light: #d675a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2f7b",
  "rgb": {
    "r": 189,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 327.887,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.18993,
    "h": 352.7
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#BD2F7B
secondary
#7ECAA1
accent
#E38E44
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BD2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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