#BD1F6B#BD1F6B

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

Color values

HEX#BD1F6B
RGBrgb(189, 31, 107)
HSLhsl(331, 72%, 43%)
HSVhsv(331, 84%, 74%)
CMYKcmyk(0%, 83.6%, 43.4%, 25.9%)
CIE-LABlab(42.56, 64.21, -2.61)
CIE-LCHlch(42.56, 64.26, 357.68°)
OKLaboklab(53.09% 0.1977 -0.0061)
OKLCHoklch(53.09% 0.198 358.2)
XYZxyz(24.1320, 12.8636, 15.1192)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD1F6B #1FBD71
analogous
#BD1FBA #BD1F6B #BD221F
triadic
#BD1F6B #6BBD1F #1F6BBD
tetradic
#BD1F6B #BABD1F #1FBD71 #221FBD
square
#BD1F6B #BABD1F #1FBD71 #221FBD
split-complementary
#BD1F6B #1FBD22 #1FBABD
monochromatic
#540E2F #88164D #BD1F6B #DF3A89 #E76FA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD1F6B#FFFFFF#000000##FFFFFF
##BD1F6B1.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)
#46526D
Deuteranopia (green-blind)
#716F67
Tritanopia (blue-blind)
#CD0043
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #bd1f6b;
/* rgb */ color: rgb(189, 31, 107);
/* oklch */ color: oklch(53.1% 0.198 358.2);
Tailwind
colors: {
  custom: {
    50: '#d76f95',
    500: '#bd1f6b',
    950: '#000000',
  },
}
SCSS
$custom: #bd1f6b;
$custom-light: #d76f95;
$custom-dark: #000000;
JSON
{
  "hex": "#bd1f6b",
  "rgb": {
    "r": 189,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 331.139,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.19783,
    "h": 358.2
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#BD1F6B
secondary
#6ACE9E
accent
#EF9739
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16080D
muted
#847B7E

Preview Lab

Preview with #BD1F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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