#D742B6#D742B6

#D742B6 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.0% C 0.220 H 338.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D742B6
RGBrgb(215, 66, 182)
HSLhsl(313, 65%, 55%)
HSVhsv(313, 69%, 84%)
CMYKcmyk(0%, 69.3%, 15.3%, 15.7%)
CIE-LABlab(53.73, 69.11, -30.29)
CIE-LCHlch(53.73, 75.46, 336.33°)
OKLaboklab(63.02% 0.2042 -0.0821)
OKLCHoklch(63.02% 0.22 338.1)
XYZxyz(38.4168, 21.7244, 46.4169)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742B6 #42D763
analogous
#AE42D7 #D742B6 #D7426B
triadic
#D742B6 #B6D742 #42B6D7
tetradic
#D742B6 #D7AE42 #42D763 #426BD7
square
#D742B6 #D7AE42 #42D763 #426BD7
split-complementary
#D742B6 #6BD742 #42D7AE
monochromatic
#831C6C #B52696 #D742B6 #E275CA #ECA7DD

Accessibility & contrast

On white

3.93
#D742B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D742B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742B6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742B6#FFFFFF#000000##000000
##D742B61.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4872B9
Deuteranopia (green-blind)
#7989B2
Tritanopia (blue-blind)
#E34977
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d742b6;
/* rgb */ color: rgb(215, 66, 182);
/* oklch */ color: oklch(63.0% 0.220 338.1);
Tailwind
colors: {
  custom: {
    50: '#e782cc',
    500: '#d742b6',
    950: '#000000',
  },
}
SCSS
$custom: #d742b6;
$custom-light: #e782cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d742b6",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 313.289,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63018,
    "c": 0.22012,
    "h": 338.1
  },
  "luminance": 0.21721
}

Semantic roles & 50–950 ramp

primary
#D742B6
secondary
#9BDAA9
accent
#E86540
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D742B6

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

Preview Lab → · Contrast checker → · Palette generator →

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