#BD2F7E#BD2F7E

#BD2F7E is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.191 H 351.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BD2F7E
RGBrgb(189, 47, 126)
HSLhsl(327, 60%, 46%)
HSVhsv(327, 75%, 74%)
CMYKcmyk(0%, 75.1%, 33.3%, 25.9%)
CIE-LABlab(44.75, 61.78, -11.09)
CIE-LCHlch(44.75, 62.76, 349.82°)
OKLaboklab(54.9% 0.1892 -0.0287)
OKLCHoklch(54.9% 0.191 351.4)
XYZxyz(25.7702, 14.3613, 21.1495)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2F7E #2FBD6E
analogous
#B52FBD #BD2F7E #BD2F37
triadic
#BD2F7E #7EBD2F #2F7EBD
tetradic
#BD2F7E #BDB52F #2FBD6E #2F37BD
square
#BD2F7E #BDB52F #2FBD6E #2F37BD
split-complementary
#BD2F7E #37BD2F #2FBDB5
monochromatic
#5B173D #8C235D #BD2F7E #D5559C #E186B8

Accessibility & contrast

On white

5.42
#BD2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BD2F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD2F7E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD2F7E#FFFFFF#000000##FFFFFF
##BD2F7E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A80
Deuteranopia (green-blind)
#71737B
Tritanopia (blue-blind)
#CB2453
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd2f7e;
/* rgb */ color: rgb(189, 47, 126);
/* oklch */ color: oklch(54.9% 0.191 351.4);
Tailwind
colors: {
  custom: {
    50: '#d675a3',
    500: '#bd2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #bd2f7e;
$custom-light: #d675a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2f7e",
  "rgb": {
    "r": 189,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 326.62,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.19135,
    "h": 351.4
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#BD2F7E
secondary
#7ECAA0
accent
#E38B44
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BD2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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