#D242AE#D242AE

#D242AE is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.212 H 339.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D242AE
RGBrgb(210, 66, 174)
HSLhsl(315, 62%, 54%)
HSVhsv(315, 69%, 82%)
CMYKcmyk(0%, 68.6%, 17.1%, 17.6%)
CIE-LABlab(52.57, 66.75, -27.50)
CIE-LCHlch(52.57, 72.19, 337.61°)
OKLaboklab(61.91% 0.1983 -0.0742)
OKLCHoklch(61.91% 0.212 339.5)
XYZxyz(36.1674, 20.6574, 42.1187)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242AE #42D266
analogous
#AE42D2 #D242AE #D24266
triadic
#D242AE #AED242 #42AED2
tetradic
#D242AE #D2AE42 #42D266 #4266D2
square
#D242AE #D2AE42 #42D266 #4266D2
split-complementary
#D242AE #66D242 #42D2AE
monochromatic
#7C1E64 #AD298C #D242AE #DE73C3 #EAA5D8

Accessibility & contrast

On white

4.09
#D242AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D242AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242AE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242AE#FFFFFF#000000##000000
##D242AE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#7886AB
Tritanopia (blue-blind)
#DE4772
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d242ae;
/* rgb */ color: rgb(210, 66, 174);
/* oklch */ color: oklch(61.9% 0.212 339.5);
Tailwind
colors: {
  custom: {
    50: '#e482c6',
    500: '#d242ae',
    950: '#000000',
  },
}
SCSS
$custom: #d242ae;
$custom-light: #e482c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d242ae",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 315,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.2117,
    "h": 339.5
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D242AE

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

Preview Lab → · Contrast checker → · Palette generator →

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