#D1399E#D1399E

#D1399E is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.212 H 344.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D1399E
RGBrgb(209, 57, 158)
HSLhsl(320, 62%, 52%)
HSVhsv(320, 73%, 82%)
CMYKcmyk(0%, 72.7%, 24.4%, 18%)
CIE-LABlab(50.63, 67.48, -21.08)
CIE-LCHlch(50.63, 70.70, 342.65°)
OKLaboklab(60.24% 0.204 -0.0562)
OKLCHoklch(60.24% 0.212 344.6)
XYZxyz(33.9305, 18.9538, 34.2127)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1399E #39D16C
analogous
#B839D1 #D1399E #D13952
triadic
#D1399E #9ED139 #399ED1
tetradic
#D1399E #D1B839 #39D16C #3952D1
square
#D1399E #D1B839 #39D16C #3952D1
split-complementary
#D1399E #52D139 #39D1B8
monochromatic
#751B57 #A6277B #D1399E #DD6BB6 #E89CCF

Accessibility & contrast

On white

4.38
#D1399E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D1399E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1399E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1399E#FFFFFF#000000##000000
##D1399E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B68A1
Deuteranopia (green-blind)
#79829B
Tritanopia (blue-blind)
#DF3767
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1399e;
/* rgb */ color: rgb(209, 57, 158);
/* oklch */ color: oklch(60.2% 0.212 344.6);
Tailwind
colors: {
  custom: {
    50: '#e37dba',
    500: '#d1399e',
    950: '#000000',
  },
}
SCSS
$custom: #d1399e;
$custom-light: #e37dba;
$custom-dark: #000000;
JSON
{
  "hex": "#d1399e",
  "rgb": {
    "r": 209,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 320.132,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.21162,
    "h": 344.6
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#D1399E
secondary
#92D4A8
accent
#E57942
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #D1399E

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

Preview Lab → · Contrast checker → · Palette generator →

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