#D74278#D74278

#D74278 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.189 H 2.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D74278
RGBrgb(215, 66, 120)
HSLhsl(338, 65%, 55%)
HSVhsv(338, 69%, 84%)
CMYKcmyk(0%, 69.3%, 44.2%, 15.7%)
CIE-LABlab(51.50, 61.76, 3.05)
CIE-LCHlch(51.50, 61.84, 2.83°)
OKLaboklab(60.65% 0.189 0.0085)
OKLCHoklch(60.65% 0.189 2.6)
XYZxyz(33.3652, 19.7038, 19.8119)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74278 #42D7A1
analogous
#D742C3 #D74278 #D75642
triadic
#D74278 #78D742 #4278D7
tetradic
#D74278 #C3D742 #42D7A1 #5642D7
square
#D74278 #C3D742 #42D7A1 #5642D7
split-complementary
#D74278 #42D756 #42C3D7
monochromatic
#831C41 #B5265A #D74278 #E2759C #ECA7C0

Accessibility & contrast

On white

4.25
#D74278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D74278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74278
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74278#FFFFFF#000000##000000
##D742781.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#8A8575
Tritanopia (blue-blind)
#E92C58
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d74278;
/* rgb */ color: rgb(215, 66, 120);
/* oklch */ color: oklch(60.7% 0.189 2.6);
Tailwind
colors: {
  custom: {
    50: '#e9819e',
    500: '#d74278',
    950: '#000000',
  },
}
SCSS
$custom: #d74278;
$custom-light: #e9819e;
$custom-dark: #000000;
JSON
{
  "hex": "#d74278",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 338.255,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.18921,
    "h": 2.6
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#D74278
secondary
#9BDAC3
accent
#E8AB40
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D74278

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

Preview Lab → · Contrast checker → · Palette generator →

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