#D742B2#D742B2

#D742B2 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.8% C 0.217 H 339.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D742B2
RGBrgb(215, 66, 178)
HSLhsl(315, 65%, 55%)
HSVhsv(315, 69%, 84%)
CMYKcmyk(0%, 69.3%, 17.2%, 15.7%)
CIE-LABlab(53.56, 68.55, -28.24)
CIE-LCHlch(53.56, 74.14, 337.61°)
OKLaboklab(62.83% 0.2037 -0.0763)
OKLCHoklch(62.83% 0.217 339.5)
XYZxyz(38.0093, 21.5614, 44.2708)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742B2 #42D767
analogous
#B142D7 #D742B2 #D74268
triadic
#D742B2 #B2D742 #42B2D7
tetradic
#D742B2 #D7B142 #42D767 #4268D7
square
#D742B2 #D7B142 #42D767 #4268D7
split-complementary
#D742B2 #68D742 #42D7B1
monochromatic
#831C69 #B52692 #D742B2 #E275C7 #ECA7DB

Accessibility & contrast

On white

3.95
#D742B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D742B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742B2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742B2#FFFFFF#000000##000000
##D742B21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#7A88AE
Tritanopia (blue-blind)
#E34774
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d742b2;
/* rgb */ color: rgb(215, 66, 178);
/* oklch */ color: oklch(62.8% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#e782c9',
    500: '#d742b2',
    950: '#000000',
  },
}
SCSS
$custom: #d742b2;
$custom-light: #e782c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d742b2",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 314.899,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62834,
    "c": 0.21749,
    "h": 339.5
  },
  "luminance": 0.21558
}

Semantic roles & 50–950 ramp

primary
#D742B2
secondary
#9BDAAB
accent
#E86A40
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D742B2

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

Preview Lab → · Contrast checker → · Palette generator →

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