#D74CB2#D74CB2

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

Color values

HEX#D74CB2
RGBrgb(215, 76, 178)
HSLhsl(316, 63%, 57%)
HSVhsv(316, 65%, 84%)
CMYKcmyk(0%, 64.7%, 17.2%, 15.7%)
CIE-LABlab(54.90, 64.81, -26.16)
CIE-LCHlch(54.90, 69.89, 338.02°)
OKLaboklab(63.81% 0.1924 -0.0705)
OKLCHoklch(63.81% 0.205 339.9)
XYZxyz(38.6455, 22.8338, 44.4829)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CB2 #4CD771
analogous
#B64CD7 #D74CB2 #D74C6D
triadic
#D74CB2 #B2D74C #4CB2D7
tetradic
#D74CB2 #D7B64C #4CD771 #4C6DD7
square
#D74CB2 #D7B64C #4CD771 #4C6DD7
split-complementary
#D74CB2 #6DD74C #4CD7B6
monochromatic
#8A1F6D #BC2A95 #D74CB2 #E27EC8 #EDB0DD

Accessibility & contrast

On white

3.77
#D74CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D74CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CB2#FFFFFF#000000##000000
##D74CB21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#E35078
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d74cb2;
/* rgb */ color: rgb(215, 76, 178);
/* oklch */ color: oklch(63.8% 0.205 339.9);
Tailwind
colors: {
  custom: {
    50: '#e787c9',
    500: '#d74cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d74cb2;
$custom-light: #e787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d74cb2",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 315.971,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.20491,
    "h": 339.9
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#D74CB2
secondary
#A3DCB2
accent
#E66D41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D74CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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