#BD315D#BD315D

#BD315D is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.178 H 6.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BD315D
RGBrgb(189, 49, 93)
HSLhsl(341, 59%, 47%)
HSVhsv(341, 74%, 74%)
CMYKcmyk(0%, 74.1%, 50.8%, 25.9%)
CIE-LABlab(43.96, 57.87, 8.15)
CIE-LCHlch(43.96, 58.44, 8.02°)
OKLaboklab(53.98% 0.1765 0.0212)
OKLCHoklch(53.98% 0.178 6.8)
XYZxyz(24.0625, 13.8090, 11.7521)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD315D #31BD91
analogous
#BD31A3 #BD315D #BD4B31
triadic
#BD315D #5DBD31 #315DBD
tetradic
#BD315D #A3BD31 #31BD91 #4B31BD
square
#BD315D #A3BD31 #31BD91 #4B31BD
split-complementary
#BD315D #31BD4B #31A3BD
monochromatic
#5C182D #8C2445 #BD315D #D4587F #E088A4

Accessibility & contrast

On white

5.58
#BD315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BD315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD315D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD315D#FFFFFF#000000##FFFFFF
##BD315D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565E
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#CE0F43
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bd315d;
/* rgb */ color: rgb(189, 49, 93);
/* oklch */ color: oklch(54.0% 0.178 6.8);
Tailwind
colors: {
  custom: {
    50: '#d7758a',
    500: '#bd315d',
    950: '#000000',
  },
}
SCSS
$custom: #bd315d;
$custom-light: #d7758a;
$custom-dark: #000000;
JSON
{
  "hex": "#bd315d",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 341.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.17774,
    "h": 6.8
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#BD315D
secondary
#80CAB3
accent
#E2B146
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #BD315D

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

Preview Lab → · Contrast checker → · Palette generator →

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