#D742B9#D742B9

#D742B9 is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 63.2% C 0.222 H 337.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D742B9
RGBrgb(215, 66, 185)
HSLhsl(312, 65%, 55%)
HSVhsv(312, 69%, 84%)
CMYKcmyk(0%, 69.3%, 14%, 15.7%)
CIE-LABlab(53.87, 69.53, -31.82)
CIE-LCHlch(53.87, 76.47, 335.41°)
OKLaboklab(63.16% 0.2046 -0.0865)
OKLCHoklch(63.16% 0.222 337.1)
XYZxyz(38.7302, 21.8498, 48.0672)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742B9 #42D760
analogous
#AB42D7 #D742B9 #D7426E
triadic
#D742B9 #B9D742 #42B9D7
tetradic
#D742B9 #D7AB42 #42D760 #426ED7
square
#D742B9 #D7AB42 #42D760 #426ED7
split-complementary
#D742B9 #6ED742 #42D7AB
monochromatic
#831C6E #B52699 #D742B9 #E275CC #ECA7DE

Accessibility & contrast

On white

3.91
#D742B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D742B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742B9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742B9#FFFFFF#000000##000000
##D742B91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4672BC
Deuteranopia (green-blind)
#7789B5
Tritanopia (blue-blind)
#E24A78
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d742b9;
/* rgb */ color: rgb(215, 66, 185);
/* oklch */ color: oklch(63.2% 0.222 337.1);
Tailwind
colors: {
  custom: {
    50: '#e782ce',
    500: '#d742b9',
    950: '#000000',
  },
}
SCSS
$custom: #d742b9;
$custom-light: #e782ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d742b9",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 312.081,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.22215,
    "h": 337.1
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742B9

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

Preview Lab → · Contrast checker → · Palette generator →

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