#D242A5#D242A5

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

Color values

HEX#D242A5
RGBrgb(210, 66, 165)
HSLhsl(319, 62%, 54%)
HSVhsv(319, 69%, 82%)
CMYKcmyk(0%, 68.6%, 21.4%, 17.6%)
CIE-LABlab(52.20, 65.52, -22.80)
CIE-LCHlch(52.20, 69.38, 340.81°)
OKLaboklab(61.51% 0.1967 -0.061)
OKLCHoklch(61.51% 0.206 342.8)
XYZxyz(35.3192, 20.3182, 37.6517)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A5 #42D26F
analogous
#B742D2 #D242A5 #D2425D
triadic
#D242A5 #A5D242 #42A5D2
tetradic
#D242A5 #D2B742 #42D26F #425DD2
square
#D242A5 #D2B742 #42D26F #425DD2
split-complementary
#D242A5 #5DD242 #42D2B7
monochromatic
#7C1E5F #AD2984 #D242A5 #DE73BD #EAA5D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D242A5#FFFFFF#000000##000000
##D242A51.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)
#4F6DA8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#DF436E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d242a5;
/* rgb */ color: rgb(210, 66, 165);
/* oklch */ color: oklch(61.5% 0.206 342.8);
Tailwind
colors: {
  custom: {
    50: '#e481c0',
    500: '#d242a5',
    950: '#000000',
  },
}
SCSS
$custom: #d242a5;
$custom-light: #e481c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a5",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 318.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.20596,
    "h": 342.8
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#D242A5
secondary
#99D7AC
accent
#E57643
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A5

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

Preview Lab → · Contrast checker → · Palette generator →

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