#D74CB1#D74CB1

#D74CB1 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 63.8% C 0.204 H 340.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#D74CB1
RGBrgb(215, 76, 177)
HSLhsl(316, 63%, 57%)
HSVhsv(316, 65%, 84%)
CMYKcmyk(0%, 64.7%, 17.7%, 15.7%)
CIE-LABlab(54.86, 64.67, -25.64)
CIE-LCHlch(54.86, 69.57, 338.37°)
OKLaboklab(63.77% 0.1922 -0.069)
OKLCHoklch(63.77% 0.204 340.2)
XYZxyz(38.5455, 22.7938, 43.9560)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CB1 #4CD772
analogous
#B84CD7 #D74CB1 #D74C6C
triadic
#D74CB1 #B1D74C #4CB1D7
tetradic
#D74CB1 #D7B84C #4CD772 #4C6CD7
square
#D74CB1 #D7B84C #4CD772 #4C6CD7
split-complementary
#D74CB1 #6CD74C #4CD7B8
monochromatic
#8A1F6D #BC2A94 #D74CB1 #E27EC7 #EDB0DD

Accessibility & contrast

On white

3.78
#D74CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D74CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CB1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CB1#FFFFFF#000000##000000
##D74CB11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B4
Deuteranopia (green-blind)
#7F8BAE
Tritanopia (blue-blind)
#E34F78
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d74cb1;
/* rgb */ color: rgb(215, 76, 177);
/* oklch */ color: oklch(63.8% 0.204 340.2);
Tailwind
colors: {
  custom: {
    50: '#e787c8',
    500: '#d74cb1',
    950: '#000000',
  },
}
SCSS
$custom: #d74cb1;
$custom-light: #e787c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d74cb1",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 316.403,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.20425,
    "h": 340.2
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#D74CB1
secondary
#A3DCB3
accent
#E66E41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D74CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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