#D242D3#D242D3

#D242D3 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.8% C 0.238 H 327.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D242D3
RGBrgb(210, 66, 211)
HSLhsl(300, 62%, 54%)
HSVhsv(300, 69%, 83%)
CMYKcmyk(0.5%, 68.7%, 0%, 17.3%)
CIE-LABlab(54.35, 72.35, -46.07)
CIE-LCHlch(54.35, 85.78, 327.51°)
OKLaboklab(63.77% 0.2013 -0.1276)
OKLCHoklch(63.77% 0.238 327.6)
XYZxyz(40.2839, 22.3040, 63.7987)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242D3 #43D342
analogous
#8A42D3 #D242D3 #D3428C
triadic
#D242D3 #D3D242 #42D3D2
tetradic
#D242D3 #D38A42 #43D342 #428CD3
square
#D242D3 #D38A42 #43D342 #428CD3
split-complementary
#D242D3 #8CD342 #42D38A
monochromatic
#7D1D7D #AE29AF #D242D3 #DE74DF #EAA5EA

Accessibility & contrast

On white

3.85
#D242D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D242D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242D3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242D3#FFFFFF#000000##000000
##D242D31.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2976D7
Deuteranopia (green-blind)
#6788CF
Tritanopia (blue-blind)
#D85786
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d242d3;
/* rgb */ color: rgb(210, 66, 211);
/* oklch */ color: oklch(63.8% 0.238 327.6);
Tailwind
colors: {
  custom: {
    50: '#e483e1',
    500: '#d242d3',
    950: '#000000',
  },
}
SCSS
$custom: #d242d3;
$custom-light: #e483e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d242d3",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 299.586,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63766,
    "c": 0.23836,
    "h": 327.6
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#D242D3
secondary
#9AD79A
accent
#E54244
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D242D3

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

Preview Lab → · Contrast checker → · Palette generator →

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