#D037C2#D037C2

#D037C2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.237 H 332.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D037C2
RGBrgb(208, 55, 194)
HSLhsl(305, 62%, 52%)
HSVhsv(305, 74%, 82%)
CMYKcmyk(0%, 73.6%, 6.7%, 18.4%)
CIE-LABlab(51.88, 72.87, -40.23)
CIE-LCHlch(51.88, 83.23, 331.10°)
OKLaboklab(61.65% 0.2092 -0.1106)
OKLCHoklch(61.65% 0.237 332.1)
XYZxyz(37.1163, 20.0404, 52.9418)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D037C2 #37D045
analogous
#9237D0 #D037C2 #D03776
triadic
#D037C2 #C2D037 #37C2D0
tetradic
#D037C2 #D09237 #37D045 #3776D0
square
#D037C2 #D09237 #37D045 #3776D0
split-complementary
#D037C2 #76D037 #37D092
monochromatic
#721B6A #A32698 #D037C2 #DC69D1 #E79AE0

Accessibility & contrast

On white

4.19
#D037C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D037C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D037C2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D037C2#FFFFFF#000000##000000
##D037C21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#D9497A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d037c2;
/* rgb */ color: rgb(208, 55, 194);
/* oklch */ color: oklch(61.7% 0.237 332.1);
Tailwind
colors: {
  custom: {
    50: '#e27dd5',
    500: '#d037c2',
    950: '#000000',
  },
}
SCSS
$custom: #d037c2;
$custom-light: #e27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d037c2",
  "rgb": {
    "r": 208,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 305.49,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.23662,
    "h": 332.1
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#D037C2
secondary
#90D396
accent
#E55243
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D037C2

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

Preview Lab → · Contrast checker → · Palette generator →

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