#D13F7C#D13F7C

#D13F7C is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.189 H 359.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D13F7C
RGBrgb(209, 63, 124)
HSLhsl(335, 61%, 53%)
HSVhsv(335, 70%, 82%)
CMYKcmyk(0%, 69.9%, 40.7%, 18%)
CIE-LABlab(50.18, 61.53, -1.41)
CIE-LCHlch(50.18, 61.55, 358.69°)
OKLaboklab(59.52% 0.1886 -0.0029)
OKLCHoklch(59.52% 0.189 359.1)
XYZxyz(31.7123, 18.5695, 20.9792)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D13F7C #3FD194
analogous
#D13FC5 #D13F7C #D14B3F
triadic
#D13F7C #7CD13F #3F7CD1
tetradic
#D13F7C #C5D13F #3FD194 #4B3FD1
square
#D13F7C #C5D13F #3FD194 #4B3FD1
split-complementary
#D13F7C #3FD14B #3FC5D1
monochromatic
#791D43 #AA295F #D13F7C #DD709E #E9A2BF

Accessibility & contrast

On white

4.46
#D13F7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D13F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D13F7C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D13F7C#FFFFFF#000000##000000
##D13F7C1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C667E
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#E22D58
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d13f7c;
/* rgb */ color: rgb(209, 63, 124);
/* oklch */ color: oklch(59.5% 0.189 359.1);
Tailwind
colors: {
  custom: {
    50: '#e47fa1',
    500: '#d13f7c',
    950: '#000000',
  },
}
SCSS
$custom: #d13f7c;
$custom-light: #e47fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d13f7c",
  "rgb": {
    "r": 209,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 334.932,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.18864,
    "h": 359.1
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#D13F7C
secondary
#97D5BB
accent
#E4A143
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D13F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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