#D7338C#D7338C

#D7338C is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.0% C 0.213 H 352.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D7338C
RGBrgb(215, 51, 140)
HSLhsl(327, 67%, 52%)
HSVhsv(327, 76%, 84%)
CMYKcmyk(0%, 76.3%, 34.9%, 15.7%)
CIE-LABlab(50.35, 68.75, -10.68)
CIE-LCHlch(50.35, 69.58, 351.17°)
OKLaboklab(60.01% 0.211 -0.0275)
OKLCHoklch(60.01% 0.213 352.6)
XYZxyz(33.9439, 18.7123, 26.6302)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7338C #33D77E
analogous
#D033D7 #D7338C #D7333A
triadic
#D7338C #8CD733 #338CD7
tetradic
#D7338C #D7D033 #33D77E #333AD7
square
#D7338C #D7D033 #33D77E #333AD7
split-complementary
#D7338C #3AD733 #33D7D0
monochromatic
#78184C #AB226C #D7338C #E166A9 #EB99C6

Accessibility & contrast

On white

4.43
#D7338C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D7338C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7338C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7338C#FFFFFF#000000##000000
##D7338C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#52658E
Deuteranopia (green-blind)
#818288
Tritanopia (blue-blind)
#E8225B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d7338c;
/* rgb */ color: rgb(215, 51, 140);
/* oklch */ color: oklch(60.0% 0.213 352.6);
Tailwind
colors: {
  custom: {
    50: '#e97bad',
    500: '#d7338c',
    950: '#000000',
  },
}
SCSS
$custom: #d7338c;
$custom-light: #e97bad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7338c",
  "rgb": {
    "r": 215,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 327.439,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6001,
    "c": 0.21274,
    "h": 352.6
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

primary
#D7338C
secondary
#8FD7B0
accent
#EA8D3E
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D7338C

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

Preview Lab → · Contrast checker → · Palette generator →

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