#BD5F7E#BD5F7E

#BD5F7E is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.6% C 0.125 H 0.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BD5F7E
RGBrgb(189, 95, 126)
HSLhsl(340, 42%, 56%)
HSVhsv(340, 50%, 74%)
CMYKcmyk(0%, 49.7%, 33.3%, 25.9%)
CIE-LABlab(52.41, 41.13, 0.28)
CIE-LCHlch(52.41, 41.13, 0.39°)
OKLaboklab(60.59% 0.1249 0.0013)
OKLCHoklch(60.59% 0.125 0.6)
XYZxyz(28.8457, 20.5122, 22.1747)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5F7E #5FBD9E
analogous
#BD5FAD #BD5F7E #BD6F5F
triadic
#BD5F7E #7EBD5F #5F7EBD
tetradic
#BD5F7E #ADBD5F #5FBD9E #6F5FBD
square
#BD5F7E #ADBD5F #5FBD9E #6F5FBD
split-complementary
#BD5F7E #5FBD6F #5FADBD
monochromatic
#722F45 #9E4160 #BD5F7E #CF8AA1 #E1B6C4

Accessibility & contrast

On white

4.12
#BD5F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BD5F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5F7E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5F7E#FFFFFF#000000##000000
##BD5F7E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E727F
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#CA586A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bd5f7e;
/* rgb */ color: rgb(189, 95, 126);
/* oklch */ color: oklch(60.6% 0.125 0.6);
Tailwind
colors: {
  custom: {
    50: '#d48fa3',
    500: '#bd5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #bd5f7e;
$custom-light: #d48fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5f7e",
  "rgb": {
    "r": 189,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 340.213,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.12492,
    "h": 0.6
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#BD5F7E
secondary
#A8CFC3
accent
#D1A956
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#150D0F
muted
#837D7F

Preview Lab

Preview with #BD5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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