#D242A4#D242A4

#D242A4 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.205 H 343.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D242A4
RGBrgb(210, 66, 164)
HSLhsl(319, 62%, 54%)
HSVhsv(319, 69%, 82%)
CMYKcmyk(0%, 68.6%, 21.9%, 17.6%)
CIE-LABlab(52.15, 65.39, -22.28)
CIE-LCHlch(52.15, 69.08, 341.19°)
OKLaboklab(61.46% 0.1965 -0.0595)
OKLCHoklch(61.46% 0.205 343.1)
XYZxyz(35.2286, 20.2819, 37.1743)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A4 #42D270
analogous
#B842D2 #D242A4 #D2425C
triadic
#D242A4 #A4D242 #42A4D2
tetradic
#D242A4 #D2B842 #42D270 #425CD2
square
#D242A4 #D2B842 #42D270 #425CD2
split-complementary
#D242A4 #5CD242 #42D2B8
monochromatic
#7C1E5E #AD2983 #D242A4 #DE73BC #EAA5D4

Accessibility & contrast

On white

4.15
#D242A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D242A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242A4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242A4#FFFFFF#000000##000000
##D242A41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA7
Deuteranopia (green-blind)
#7B85A1
Tritanopia (blue-blind)
#DF426D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d242a4;
/* rgb */ color: rgb(210, 66, 164);
/* oklch */ color: oklch(61.5% 0.205 343.1);
Tailwind
colors: {
  custom: {
    50: '#e481bf',
    500: '#d242a4',
    950: '#000000',
  },
}
SCSS
$custom: #d242a4;
$custom-light: #e481bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a4",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 319.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.20534,
    "h": 343.1
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#D242A4
secondary
#99D7AD
accent
#E57743
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A4

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

Preview Lab → · Contrast checker → · Palette generator →

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