#D242D1#D242D1

#D242D1 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.7% C 0.237 H 328.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D242D1
RGBrgb(210, 66, 209)
HSLhsl(300, 62%, 54%)
HSVhsv(300, 69%, 82%)
CMYKcmyk(0%, 68.6%, 0.5%, 17.6%)
CIE-LABlab(54.24, 72.03, -45.09)
CIE-LCHlch(54.24, 84.98, 327.95°)
OKLaboklab(63.66% 0.2013 -0.1247)
OKLCHoklch(63.66% 0.237 328.2)
XYZxyz(40.0347, 22.2044, 62.4865)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242D1 #42D243
analogous
#8B42D2 #D242D1 #D24289
triadic
#D242D1 #D1D242 #42D1D2
tetradic
#D242D1 #D28B42 #42D243 #4289D2
square
#D242D1 #D28B42 #42D243 #4289D2
split-complementary
#D242D1 #89D242 #42D28B
monochromatic
#7C1E7B #AD29AD #D242D1 #DE73DD #EAA5E9

Accessibility & contrast

On white

3.86
#D242D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D242D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242D1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242D1#FFFFFF#000000##000000
##D242D11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D5
Deuteranopia (green-blind)
#6888CD
Tritanopia (blue-blind)
#D95785
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d242d1;
/* rgb */ color: rgb(210, 66, 209);
/* oklch */ color: oklch(63.7% 0.237 328.2);
Tailwind
colors: {
  custom: {
    50: '#e483df',
    500: '#d242d1',
    950: '#000000',
  },
}
SCSS
$custom: #d242d1;
$custom-light: #e483df;
$custom-dark: #000000;
JSON
{
  "hex": "#d242d1",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 300.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.23682,
    "h": 328.2
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

primary
#D242D1
secondary
#99D79A
accent
#E54443
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D242D1

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

Preview Lab → · Contrast checker → · Palette generator →

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