#D742BA#D742BA

#D742BA is a light, highly saturated pink. Relative luminance 0.219; OKLCH L 63.2% C 0.223 H 336.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D742BA
RGBrgb(215, 66, 186)
HSLhsl(312, 65%, 55%)
HSVhsv(312, 69%, 84%)
CMYKcmyk(0%, 69.3%, 13.5%, 15.7%)
CIE-LABlab(53.91, 69.68, -32.33)
CIE-LCHlch(53.91, 76.81, 335.11°)
OKLaboklab(63.21% 0.2047 -0.0879)
OKLCHoklch(63.21% 0.223 336.8)
XYZxyz(38.8361, 21.8921, 48.6251)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742BA #42D75F
analogous
#AA42D7 #D742BA #D7426F
triadic
#D742BA #BAD742 #42BAD7
tetradic
#D742BA #D7AA42 #42D75F #426FD7
square
#D742BA #D7AA42 #42D75F #426FD7
split-complementary
#D742BA #6FD742 #42D7AA
monochromatic
#831C6F #B5269A #D742BA #E275CC #ECA7DF

Accessibility & contrast

On white

3.90
#D742BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D742BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742BA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742BA#FFFFFF#000000##000000
##D742BA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#7789B6
Tritanopia (blue-blind)
#E24B79
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d742ba;
/* rgb */ color: rgb(215, 66, 186);
/* oklch */ color: oklch(63.2% 0.223 336.8);
Tailwind
colors: {
  custom: {
    50: '#e783cf',
    500: '#d742ba',
    950: '#000000',
  },
}
SCSS
$custom: #d742ba;
$custom-light: #e783cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d742ba",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 311.678,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63206,
    "c": 0.22282,
    "h": 336.8
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#D742BA
secondary
#9BDAA7
accent
#E86140
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D742BA

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

Preview Lab → · Contrast checker → · Palette generator →

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