#D74A7B#D74A7B

#D74A7B is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.180 H 2.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D74A7B
RGBrgb(215, 74, 123)
HSLhsl(339, 64%, 57%)
HSVhsv(339, 66%, 84%)
CMYKcmyk(0%, 65.6%, 42.8%, 15.7%)
CIE-LABlab(52.71, 58.96, 2.99)
CIE-LCHlch(52.71, 59.04, 2.91°)
OKLaboklab(61.57% 0.1802 0.0084)
OKLCHoklch(61.57% 0.18 2.7)
XYZxyz(34.0507, 20.7788, 20.9526)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74A7B #4AD7A6
analogous
#D74AC2 #D74A7B #D7604A
triadic
#D74A7B #7BD74A #4A7BD7
tetradic
#D74A7B #C2D74A #4AD7A6 #604AD7
square
#D74A7B #C2D74A #4AD7A6 #604AD7
split-complementary
#D74A7B #4AD760 #4AC2D7
monochromatic
#881E43 #BB295C #D74A7B #E27CA0 #EDAEC4

Accessibility & contrast

On white

4.07
#D74A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D74A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74A7B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74A7B#FFFFFF#000000##000000
##D74A7B1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7C
Deuteranopia (green-blind)
#8C8878
Tritanopia (blue-blind)
#E9385E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d74a7b;
/* rgb */ color: rgb(215, 74, 123);
/* oklch */ color: oklch(61.6% 0.180 2.7);
Tailwind
colors: {
  custom: {
    50: '#e885a1',
    500: '#d74a7b',
    950: '#000000',
  },
}
SCSS
$custom: #d74a7b;
$custom-light: #e885a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d74a7b",
  "rgb": {
    "r": 215,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 339.149,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.18043,
    "h": 2.7
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#D74A7B
secondary
#A2DBC7
accent
#E7AD41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D74A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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