#BD315F#BD315F

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

Color values

HEX#BD315F
RGBrgb(189, 49, 95)
HSLhsl(340, 59%, 47%)
HSVhsv(340, 74%, 74%)
CMYKcmyk(0%, 74.1%, 49.7%, 25.9%)
CIE-LABlab(44.01, 58.03, 6.98)
CIE-LCHlch(44.01, 58.45, 6.86°)
OKLaboklab(54.04% 0.1772 0.0183)
OKLCHoklch(54.04% 0.178 5.9)
XYZxyz(24.1522, 13.8449, 12.2248)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD315F #31BD8F
analogous
#BD31A5 #BD315F #BD4931
triadic
#BD315F #5FBD31 #315FBD
tetradic
#BD315F #A5BD31 #31BD8F #4931BD
square
#BD315F #A5BD31 #31BD8F #4931BD
split-complementary
#BD315F #31BD49 #31A5BD
monochromatic
#5C182E #8C2447 #BD315F #D45880 #E088A5

Accessibility & contrast

On white

5.57
#BD315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BD315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD315F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD315F#FFFFFF#000000##FFFFFF
##BD315F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535660
Deuteranopia (green-blind)
#78725C
Tritanopia (blue-blind)
#CE1144
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bd315f;
/* rgb */ color: rgb(189, 49, 95);
/* oklch */ color: oklch(54.0% 0.178 5.9);
Tailwind
colors: {
  custom: {
    50: '#d7758c',
    500: '#bd315f',
    950: '#000000',
  },
}
SCSS
$custom: #bd315f;
$custom-light: #d7758c;
$custom-dark: #000000;
JSON
{
  "hex": "#bd315f",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 340.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.17815,
    "h": 5.9
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#BD315F
secondary
#80CAB2
accent
#E2AF46
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #BD315F

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

Preview Lab → · Contrast checker → · Palette generator →

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