#D6338E#D6338E

#D6338E is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.213 H 351.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D6338E
RGBrgb(214, 51, 142)
HSLhsl(327, 67%, 52%)
HSVhsv(327, 76%, 84%)
CMYKcmyk(0%, 76.2%, 33.6%, 16.1%)
CIE-LABlab(50.24, 68.72, -12.06)
CIE-LCHlch(50.24, 69.77, 350.05°)
OKLaboklab(59.92% 0.2106 -0.0312)
OKLCHoklch(59.92% 0.213 351.6)
XYZxyz(33.7999, 18.6209, 27.4002)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6338E #33D67B
analogous
#CD33D6 #D6338E #D6333D
triadic
#D6338E #8ED633 #338ED6
tetradic
#D6338E #D6CD33 #33D67B #333DD6
square
#D6338E #D6CD33 #33D67B #333DD6
split-complementary
#D6338E #3DD633 #33D6CD
monochromatic
#77184D #AA226E #D6338E #E066AA #EA99C6

Accessibility & contrast

On white

4.45
#D6338E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D6338E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D6338E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6338E#FFFFFF#000000##000000
##D6338E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#7F828A
Tritanopia (blue-blind)
#E6245D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d6338e;
/* rgb */ color: rgb(214, 51, 142);
/* oklch */ color: oklch(59.9% 0.213 351.6);
Tailwind
colors: {
  custom: {
    50: '#e87baf',
    500: '#d6338e',
    950: '#000000',
  },
}
SCSS
$custom: #d6338e;
$custom-light: #e87baf;
$custom-dark: #000000;
JSON
{
  "hex": "#d6338e",
  "rgb": {
    "r": 214,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 326.503,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.21294,
    "h": 351.6
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#D6338E
secondary
#8FD6AE
accent
#E98A3E
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D6338E

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

Preview Lab → · Contrast checker → · Palette generator →

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