#D242A6#D242A6

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

Color values

HEX#D242A6
RGBrgb(210, 66, 166)
HSLhsl(318, 62%, 54%)
HSVhsv(318, 69%, 82%)
CMYKcmyk(0%, 68.6%, 21%, 17.6%)
CIE-LABlab(52.24, 65.66, -23.33)
CIE-LCHlch(52.24, 69.68, 340.44°)
OKLaboklab(61.55% 0.1969 -0.0625)
OKLCHoklch(61.55% 0.207 342.4)
XYZxyz(35.4106, 20.3547, 38.1330)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A6 #42D26E
analogous
#B642D2 #D242A6 #D2425E
triadic
#D242A6 #A6D242 #42A6D2
tetradic
#D242A6 #D2B642 #42D26E #425ED2
square
#D242A6 #D2B642 #42D26E #425ED2
split-complementary
#D242A6 #5ED242 #42D2B6
monochromatic
#7C1E5F #AD2985 #D242A6 #DE73BD #EAA5D5

Accessibility & contrast

On white

4.14
#D242A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D242A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242A6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242A6#FFFFFF#000000##000000
##D242A61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA9
Deuteranopia (green-blind)
#7B85A3
Tritanopia (blue-blind)
#DF436E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d242a6;
/* rgb */ color: rgb(210, 66, 166);
/* oklch */ color: oklch(61.6% 0.207 342.4);
Tailwind
colors: {
  custom: {
    50: '#e481c0',
    500: '#d242a6',
    950: '#000000',
  },
}
SCSS
$custom: #d242a6;
$custom-light: #e481c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a6",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 318.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.20658,
    "h": 342.4
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#D242A6
secondary
#99D7AC
accent
#E57543
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A6

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

Preview Lab → · Contrast checker → · Palette generator →

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