#BD5271#BD5271

#BD5271 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.141 H 4.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BD5271
RGBrgb(189, 82, 113)
HSLhsl(343, 45%, 53%)
HSVhsv(343, 57%, 74%)
CMYKcmyk(0%, 56.6%, 40.2%, 25.9%)
CIE-LABlab(49.55, 46.06, 3.91)
CIE-LCHlch(49.55, 46.23, 4.85°)
OKLaboklab(58.32% 0.1403 0.0107)
OKLCHoklch(58.32% 0.141 4.3)
XYZxyz(26.9858, 18.0486, 17.6821)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5271 #52BD9E
analogous
#BD52A6 #BD5271 #BD6852
triadic
#BD5271 #71BD52 #5271BD
tetradic
#BD5271 #A6BD52 #52BD9E #6852BD
square
#BD5271 #A6BD52 #52BD9E #6852BD
split-complementary
#BD5271 #52BD68 #52A6BD
monochromatic
#6C293C #983A55 #BD5271 #CE7E95 #DFABBA

Accessibility & contrast

On white

4.56
#BD5271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BD5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5271
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5271#FFFFFF#000000##000000
##BD52711.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666972
Deuteranopia (green-blind)
#827E6F
Tritanopia (blue-blind)
#CC475E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd5271;
/* rgb */ color: rgb(189, 82, 113);
/* oklch */ color: oklch(58.3% 0.141 4.3);
Tailwind
colors: {
  custom: {
    50: '#d58799',
    500: '#bd5271',
    950: '#000000',
  },
}
SCSS
$custom: #bd5271;
$custom-light: #d58799;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5271",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 342.617,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.14066,
    "h": 4.3
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#BD5271
secondary
#9ECCBF
accent
#D4AF53
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BD5271

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

Preview Lab → · Contrast checker → · Palette generator →

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