#BD2F7A#BD2F7A

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

Color values

HEX#BD2F7A
RGBrgb(189, 47, 122)
HSLhsl(328, 60%, 46%)
HSVhsv(328, 75%, 74%)
CMYKcmyk(0%, 75.1%, 35.4%, 25.9%)
CIE-LABlab(44.60, 61.33, -8.85)
CIE-LCHlch(44.60, 61.97, 351.79°)
OKLaboklab(54.75% 0.1881 -0.0227)
OKLCHoklch(54.75% 0.189 353.1)
XYZxyz(25.5172, 14.2601, 19.8173)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2F7A #2FBD72
analogous
#B92FBD #BD2F7A #BD2F33
triadic
#BD2F7A #7ABD2F #2F7ABD
tetradic
#BD2F7A #BDB92F #2FBD72 #2F33BD
square
#BD2F7A #BDB92F #2FBD72 #2F33BD
split-complementary
#BD2F7A #33BD2F #2FBDB9
monochromatic
#5B173B #8C235A #BD2F7A #D55598 #E186B6

Accessibility & contrast

On white

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

On black

3.85
#BD2F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BD2F7A#FFFFFF#000000##FFFFFF
##BD2F7A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#727377
Tritanopia (blue-blind)
#CC2150
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bd2f7a;
/* rgb */ color: rgb(189, 47, 122);
/* oklch */ color: oklch(54.7% 0.189 353.1);
Tailwind
colors: {
  custom: {
    50: '#d675a0',
    500: '#bd2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #bd2f7a;
$custom-light: #d675a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2f7a",
  "rgb": {
    "r": 189,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 328.31,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.18947,
    "h": 353.1
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#BD2F7A
secondary
#7ECAA2
accent
#E38F44
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BD2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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