#D742A7#D742A7

#D742A7 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.4% C 0.211 H 343.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D742A7
RGBrgb(215, 66, 167)
HSLhsl(319, 65%, 55%)
HSVhsv(319, 69%, 84%)
CMYKcmyk(0%, 69.3%, 22.3%, 15.7%)
CIE-LABlab(53.10, 67.07, -22.52)
CIE-LCHlch(53.10, 70.75, 341.44°)
OKLaboklab(62.35% 0.2018 -0.0602)
OKLCHoklch(62.35% 0.211 343.4)
XYZxyz(36.9489, 21.1373, 38.6857)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742A7 #42D772
analogous
#BD42D7 #D742A7 #D7425C
triadic
#D742A7 #A7D742 #42A7D7
tetradic
#D742A7 #D7BD42 #42D772 #425CD7
square
#D742A7 #D7BD42 #42D772 #425CD7
split-complementary
#D742A7 #5CD742 #42D7BD
monochromatic
#831C62 #B52687 #D742A7 #E275BF #ECA7D6

Accessibility & contrast

On white

4.02
#D742A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D742A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742A7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742A7#FFFFFF#000000##000000
##D742A71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7E88A3
Tritanopia (blue-blind)
#E5426F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d742a7;
/* rgb */ color: rgb(215, 66, 167);
/* oklch */ color: oklch(62.4% 0.211 343.4);
Tailwind
colors: {
  custom: {
    50: '#e782c1',
    500: '#d742a7',
    950: '#000000',
  },
}
SCSS
$custom: #d742a7;
$custom-light: #e782c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d742a7",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 319.329,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.21059,
    "h": 343.4
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#D742A7
secondary
#9BDAAF
accent
#E87640
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D742A7

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

Preview Lab → · Contrast checker → · Palette generator →

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