#D242A2#D242A2

#D242A2 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.204 H 343.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D242A2
RGBrgb(210, 66, 162)
HSLhsl(320, 62%, 54%)
HSVhsv(320, 69%, 82%)
CMYKcmyk(0%, 68.6%, 22.9%, 17.6%)
CIE-LABlab(52.07, 65.13, -21.22)
CIE-LCHlch(52.07, 68.50, 341.95°)
OKLaboklab(61.38% 0.1961 -0.0566)
OKLCHoklch(61.38% 0.204 343.9)
XYZxyz(35.0494, 20.2102, 36.2305)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A2 #42D272
analogous
#BA42D2 #D242A2 #D2425A
triadic
#D242A2 #A2D242 #42A2D2
tetradic
#D242A2 #D2BA42 #42D272 #425AD2
square
#D242A2 #D2BA42 #42D272 #425AD2
split-complementary
#D242A2 #5AD242 #42D2BA
monochromatic
#7C1E5D #AD2981 #D242A2 #DE73BA #EAA5D3

Accessibility & contrast

On white

4.17
#D242A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D242A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242A2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242A2#FFFFFF#000000##000000
##D242A21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#DF416C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d242a2;
/* rgb */ color: rgb(210, 66, 162);
/* oklch */ color: oklch(61.4% 0.204 343.9);
Tailwind
colors: {
  custom: {
    50: '#e481bd',
    500: '#d242a2',
    950: '#000000',
  },
}
SCSS
$custom: #d242a2;
$custom-light: #e481bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a2",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 320,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.20413,
    "h": 343.9
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#D242A2
secondary
#99D7AE
accent
#E57943
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A2

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

Preview Lab → · Contrast checker → · Palette generator →

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