#BD3172#BD3172

#BD3172 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.184 H 357.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BD3172
RGBrgb(189, 49, 114)
HSLhsl(332, 59%, 47%)
HSVhsv(332, 74%, 74%)
CMYKcmyk(0%, 74.1%, 39.7%, 25.9%)
CIE-LABlab(44.57, 59.83, -3.98)
CIE-LCHlch(44.57, 59.96, 356.19°)
OKLaboklab(54.63% 0.1837 -0.0097)
OKLCHoklch(54.63% 0.184 357)
XYZxyz(25.1236, 14.2335, 17.3407)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD3172 #31BD7C
analogous
#BD31B8 #BD3172 #BD3631
triadic
#BD3172 #72BD31 #3172BD
tetradic
#BD3172 #B8BD31 #31BD7C #3631BD
square
#BD3172 #B8BD31 #31BD7C #3631BD
split-complementary
#BD3172 #31BD36 #31B8BD
monochromatic
#5C1837 #8C2455 #BD3172 #D45891 #E088B1

Accessibility & contrast

On white

5.46
#BD3172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD3172
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD3172#FFFFFF#000000##FFFFFF
##BD31721.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5974
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#CC1F4D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bd3172;
/* rgb */ color: rgb(189, 49, 114);
/* oklch */ color: oklch(54.6% 0.184 357.0);
Tailwind
colors: {
  custom: {
    50: '#d6769a',
    500: '#bd3172',
    950: '#000000',
  },
}
SCSS
$custom: #bd3172;
$custom-light: #d6769a;
$custom-dark: #000000;
JSON
{
  "hex": "#bd3172",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 332.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.18395,
    "h": 357
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

primary
#BD3172
secondary
#80CAA8
accent
#E29946
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BD3172

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

Preview Lab → · Contrast checker → · Palette generator →

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