#D242AD#D242AD

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

Color values

HEX#D242AD
RGBrgb(210, 66, 173)
HSLhsl(315, 62%, 54%)
HSVhsv(315, 69%, 82%)
CMYKcmyk(0%, 68.6%, 17.6%, 17.6%)
CIE-LABlab(52.53, 66.61, -26.98)
CIE-LCHlch(52.53, 71.87, 337.95°)
OKLaboklab(61.86% 0.1981 -0.0728)
OKLCHoklch(61.86% 0.211 339.8)
XYZxyz(36.0703, 20.6186, 41.6072)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242AD #42D267
analogous
#AF42D2 #D242AD #D24265
triadic
#D242AD #ADD242 #42ADD2
tetradic
#D242AD #D2AF42 #42D267 #4265D2
square
#D242AD #D2AF42 #42D267 #4265D2
split-complementary
#D242AD #65D242 #42D2AF
monochromatic
#7C1E64 #AD298C #D242AD #DE73C2 #EAA5D8

Accessibility & contrast

On white

4.10
#D242AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D242AD#FFFFFF#000000##000000
##D242AD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB0
Deuteranopia (green-blind)
#7886AA
Tritanopia (blue-blind)
#DE4672
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d242ad;
/* rgb */ color: rgb(210, 66, 173);
/* oklch */ color: oklch(61.9% 0.211 339.8);
Tailwind
colors: {
  custom: {
    50: '#e482c5',
    500: '#d242ad',
    950: '#000000',
  },
}
SCSS
$custom: #d242ad;
$custom-light: #e482c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d242ad",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 315.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.21105,
    "h": 339.8
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D242AD

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

Preview Lab → · Contrast checker → · Palette generator →

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