#BD5172#BD5172

#BD5172 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.2% C 0.142 H 3.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BD5172
RGBrgb(189, 81, 114)
HSLhsl(342, 45%, 53%)
HSVhsv(342, 57%, 74%)
CMYKcmyk(0%, 57.1%, 39.7%, 25.9%)
CIE-LABlab(49.40, 46.65, 3.08)
CIE-LCHlch(49.40, 46.75, 3.78°)
OKLaboklab(58.22% 0.1421 0.0086)
OKLCHoklch(58.22% 0.142 3.4)
XYZxyz(26.9676, 17.9215, 17.9553)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5172 #51BD9C
analogous
#BD51A8 #BD5172 #BD6651
triadic
#BD5172 #72BD51 #5172BD
tetradic
#BD5172 #A8BD51 #51BD9C #6651BD
square
#BD5172 #A8BD51 #51BD9C #6651BD
split-complementary
#BD5172 #51BD66 #51A8BD
monochromatic
#6B293D #973956 #BD5172 #CE7D96 #DFAABA

Accessibility & contrast

On white

4.58
#BD5172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BD5172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5172
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5172#FFFFFF#000000##000000
##BD51721.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656873
Deuteranopia (green-blind)
#817D70
Tritanopia (blue-blind)
#CC465D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bd5172;
/* rgb */ color: rgb(189, 81, 114);
/* oklch */ color: oklch(58.2% 0.142 3.4);
Tailwind
colors: {
  custom: {
    50: '#d5869a',
    500: '#bd5172',
    950: '#000000',
  },
}
SCSS
$custom: #bd5172;
$custom-light: #d5869a;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5172",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 341.667,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.14238,
    "h": 3.4
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#BD5172
secondary
#9ECCBE
accent
#D5AD53
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BD5172

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

Preview Lab → · Contrast checker → · Palette generator →

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