#D242A8#D242A8

#D242A8 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.208 H 341.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D242A8
RGBrgb(210, 66, 168)
HSLhsl(318, 62%, 54%)
HSVhsv(318, 69%, 82%)
CMYKcmyk(0%, 68.6%, 20%, 17.6%)
CIE-LABlab(52.32, 65.93, -24.37)
CIE-LCHlch(52.32, 70.29, 339.71°)
OKLaboklab(61.64% 0.1973 -0.0654)
OKLCHoklch(61.64% 0.208 341.6)
XYZxyz(35.5955, 20.4287, 39.1067)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A8 #42D26C
analogous
#B442D2 #D242A8 #D24260
triadic
#D242A8 #A8D242 #42A8D2
tetradic
#D242A8 #D2B442 #42D26C #4260D2
square
#D242A8 #D2B442 #42D26C #4260D2
split-complementary
#D242A8 #60D242 #42D2B4
monochromatic
#7C1E60 #AD2987 #D242A8 #DE73BF #EAA5D6

Accessibility & contrast

On white

4.13
#D242A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D242A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242A8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242A8#FFFFFF#000000##000000
##D242A81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAB
Deuteranopia (green-blind)
#7A85A5
Tritanopia (blue-blind)
#DF446F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d242a8;
/* rgb */ color: rgb(210, 66, 168);
/* oklch */ color: oklch(61.6% 0.208 341.6);
Tailwind
colors: {
  custom: {
    50: '#e481c2',
    500: '#d242a8',
    950: '#000000',
  },
}
SCSS
$custom: #d242a8;
$custom-light: #e481c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a8",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 317.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.20783,
    "h": 341.6
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#D242A8
secondary
#99D7AB
accent
#E57243
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A8

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

Preview Lab → · Contrast checker → · Palette generator →

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