#D7336C#D7336C

#D7336C is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.0% C 0.202 H 5.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D7336C
RGBrgb(215, 51, 108)
HSLhsl(339, 67%, 52%)
HSVhsv(339, 76%, 84%)
CMYKcmyk(0%, 76.3%, 49.8%, 15.7%)
CIE-LABlab(49.38, 65.74, 7.27)
CIE-LCHlch(49.38, 66.14, 6.31°)
OKLaboklab(58.98% 0.201 0.0191)
OKLCHoklch(58.98% 0.202 5.4)
XYZxyz(31.9177, 17.9019, 15.9591)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7336C #33D79E
analogous
#D733BE #D7336C #D74C33
triadic
#D7336C #6CD733 #336CD7
tetradic
#D7336C #BED733 #33D79E #4C33D7
square
#D7336C #BED733 #33D79E #4C33D7
split-complementary
#D7336C #33D74C #33BED7
monochromatic
#781839 #AB2251 #D7336C #E16691 #EB99B6

Accessibility & contrast

On white

4.59
#D7336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D7336C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D7336C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7336C#FFFFFF#000000##FFFFFF
##D7336C1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C616D
Deuteranopia (green-blind)
#878168
Tritanopia (blue-blind)
#EA004C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d7336c;
/* rgb */ color: rgb(215, 51, 108);
/* oklch */ color: oklch(59.0% 0.202 5.4);
Tailwind
colors: {
  custom: {
    50: '#ea7a95',
    500: '#d7336c',
    950: '#000000',
  },
}
SCSS
$custom: #d7336c;
$custom-light: #ea7a95;
$custom-dark: #000000;
JSON
{
  "hex": "#d7336c",
  "rgb": {
    "r": 215,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 339.146,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.20187,
    "h": 5.4
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#D7336C
secondary
#8FD7BE
accent
#EAAE3E
background
#FFF7F9
surface
#FFEEF1
border
#D7C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D7336C

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

Preview Lab → · Contrast checker → · Palette generator →

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