#D242AC#D242AC

#D242AC is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.210 H 340.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D242AC
RGBrgb(210, 66, 172)
HSLhsl(316, 62%, 54%)
HSVhsv(316, 69%, 82%)
CMYKcmyk(0%, 68.6%, 18.1%, 17.6%)
CIE-LABlab(52.49, 66.47, -26.46)
CIE-LCHlch(52.49, 71.55, 338.30°)
OKLaboklab(61.82% 0.1979 -0.0713)
OKLCHoklch(61.82% 0.21 340.2)
XYZxyz(35.9739, 20.5800, 41.0995)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242AC #42D268
analogous
#B042D2 #D242AC #D24264
triadic
#D242AC #ACD242 #42ACD2
tetradic
#D242AC #D2B042 #42D268 #4264D2
square
#D242AC #D2B042 #42D268 #4264D2
split-complementary
#D242AC #64D242 #42D2B0
monochromatic
#7C1E63 #AD298B #D242AC #DE73C2 #EAA5D7

Accessibility & contrast

On white

4.11
#D242AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D242AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242AC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242AC#FFFFFF#000000##000000
##D242AC1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FAF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#DE4671
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d242ac;
/* rgb */ color: rgb(210, 66, 172);
/* oklch */ color: oklch(61.8% 0.210 340.2);
Tailwind
colors: {
  custom: {
    50: '#e482c5',
    500: '#d242ac',
    950: '#000000',
  },
}
SCSS
$custom: #d242ac;
$custom-light: #e482c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d242ac",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 315.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.2104,
    "h": 340.2
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#D242AC
secondary
#99D7A9
accent
#E56E43
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D242AC

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

Preview Lab → · Contrast checker → · Palette generator →

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