#D3397F#D3397F

#D3397F is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.4% C 0.198 H 357.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D3397F
RGBrgb(211, 57, 127)
HSLhsl(333, 64%, 53%)
HSVhsv(333, 73%, 83%)
CMYKcmyk(0%, 73%, 39.8%, 17.3%)
CIE-LABlab(49.87, 64.48, -3.64)
CIE-LCHlch(49.87, 64.59, 356.77°)
OKLaboklab(59.39% 0.1979 -0.0087)
OKLCHoklch(59.39% 0.198 357.5)
XYZxyz(32.1601, 18.3115, 21.9155)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3397F #39D38D
analogous
#D339CC #D3397F #D34039
triadic
#D3397F #7FD339 #397FD3
tetradic
#D3397F #CCD339 #39D38D #4039D3
square
#D3397F #CCD339 #39D38D #4039D3
split-complementary
#D3397F #39D340 #39CCD3
monochromatic
#771A45 #A92661 #D3397F #DE6B9F #E99DC0

Accessibility & contrast

On white

4.51
#D3397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D3397F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D3397F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3397F#FFFFFF#000000##000000
##D3397F1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#596481
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#E42557
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d3397f;
/* rgb */ color: rgb(211, 57, 127);
/* oklch */ color: oklch(59.4% 0.198 357.5);
Tailwind
colors: {
  custom: {
    50: '#e67ca4',
    500: '#d3397f',
    950: '#000000',
  },
}
SCSS
$custom: #d3397f;
$custom-light: #e67ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d3397f",
  "rgb": {
    "r": 211,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 332.727,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.19814,
    "h": 357.5
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#D3397F
secondary
#92D5B7
accent
#E79B41
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D3397F

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

Preview Lab → · Contrast checker → · Palette generator →

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