#D242A0#D242A0

#D242A0 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.3% C 0.203 H 344.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D242A0
RGBrgb(210, 66, 160)
HSLhsl(321, 62%, 54%)
HSVhsv(321, 69%, 82%)
CMYKcmyk(0%, 68.6%, 23.8%, 17.6%)
CIE-LABlab(51.99, 64.87, -20.16)
CIE-LCHlch(51.99, 67.93, 342.73°)
OKLaboklab(61.3% 0.1957 -0.0536)
OKLCHoklch(61.3% 0.203 344.7)
XYZxyz(34.8730, 20.1397, 35.3017)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A0 #42D274
analogous
#BC42D2 #D242A0 #D24258
triadic
#D242A0 #A0D242 #42A0D2
tetradic
#D242A0 #D2BC42 #42D274 #4258D2
square
#D242A0 #D2BC42 #42D274 #4258D2
split-complementary
#D242A0 #58D242 #42D2BC
monochromatic
#7C1E5B #AD2980 #D242A0 #DE73B9 #EAA5D2

Accessibility & contrast

On white

4.18
#D242A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D242A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242A0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242A0#FFFFFF#000000##000000
##D242A01.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA3
Deuteranopia (green-blind)
#7D859D
Tritanopia (blue-blind)
#E0416B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d242a0;
/* rgb */ color: rgb(210, 66, 160);
/* oklch */ color: oklch(61.3% 0.203 344.7);
Tailwind
colors: {
  custom: {
    50: '#e481bc',
    500: '#d242a0',
    950: '#000000',
  },
}
SCSS
$custom: #d242a0;
$custom-light: #e481bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a0",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 320.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.20295,
    "h": 344.7
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#D242A0
secondary
#99D7AF
accent
#E57B43
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A0

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

Preview Lab → · Contrast checker → · Palette generator →

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