#D742B8#D742B8

#D742B8 is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 63.1% C 0.221 H 337.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D742B8
RGBrgb(215, 66, 184)
HSLhsl(312, 65%, 55%)
HSVhsv(312, 69%, 84%)
CMYKcmyk(0%, 69.3%, 14.4%, 15.7%)
CIE-LABlab(53.82, 69.39, -31.32)
CIE-LCHlch(53.82, 76.13, 335.71°)
OKLaboklab(63.11% 0.2045 -0.085)
OKLCHoklch(63.11% 0.221 337.4)
XYZxyz(38.6250, 21.8077, 47.5132)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742B8 #42D761
analogous
#AB42D7 #D742B8 #D7426E
triadic
#D742B8 #B8D742 #42B8D7
tetradic
#D742B8 #D7AB42 #42D761 #426ED7
square
#D742B8 #D7AB42 #42D761 #426ED7
split-complementary
#D742B8 #6ED742 #42D7AB
monochromatic
#831C6D #B52698 #D742B8 #E275CB #ECA7DE

Accessibility & contrast

On white

3.92
#D742B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D742B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742B8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742B8#FFFFFF#000000##000000
##D742B81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4772BB
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#E24A78
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d742b8;
/* rgb */ color: rgb(215, 66, 184);
/* oklch */ color: oklch(63.1% 0.221 337.4);
Tailwind
colors: {
  custom: {
    50: '#e782cd',
    500: '#d742b8',
    950: '#000000',
  },
}
SCSS
$custom: #d742b8;
$custom-light: #e782cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d742b8",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 312.483,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63112,
    "c": 0.22147,
    "h": 337.4
  },
  "luminance": 0.21804
}

Semantic roles & 50–950 ramp

primary
#D742B8
secondary
#9BDAA8
accent
#E86340
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D742B8

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

Preview Lab → · Contrast checker → · Palette generator →

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