#D174CB#D174CB

#D174CB is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.2% C 0.159 H 329.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D174CB
RGBrgb(209, 116, 203)
HSLhsl(304, 50%, 64%)
HSVhsv(304, 44%, 82%)
CMYKcmyk(0%, 44.5%, 2.9%, 18%)
CIE-LABlab(61.96, 48.73, -29.61)
CIE-LCHlch(61.96, 57.02, 328.72°)
OKLaboklab(69.2% 0.1371 -0.0807)
OKLCHoklch(69.2% 0.159 329.5)
XYZxyz(43.3188, 30.3602, 60.0667)
Luminance0.3036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174CB #74D17A
analogous
#A874D1 #D174CB #D1749C
triadic
#D174CB #CBD174 #74CBD1
tetradic
#D174CB #D1A874 #74D17A #749CD1
square
#D174CB #D1A874 #74D17A #749CD1
split-complementary
#D174CB #9CD174 #74D1A8
monochromatic
#983292 #C246BA #D174CB #E0A2DC #EFD0ED

Accessibility & contrast

On white

2.97
#D174CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D174CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174CB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174CB#FFFFFF#000000##000000
##D174CB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#899AC8
Tritanopia (blue-blind)
#D77C96
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d174cb;
/* rgb */ color: rgb(209, 116, 203);
/* oklch */ color: oklch(69.2% 0.159 329.5);
Tailwind
colors: {
  custom: {
    50: '#e19fdb',
    500: '#d174cb',
    950: '#000000',
  },
}
SCSS
$custom: #d174cb;
$custom-light: #e19fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d174cb",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 303.871,
    "s": 50.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69197,
    "c": 0.15904,
    "h": 329.5
  },
  "luminance": 0.30358
}

Semantic roles & 50–950 ramp

primary
#D174CB
secondary
#C0E1C2
accent
#BE3228
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150F15
muted
#847E83

Preview Lab

Preview with #D174CB

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

Preview Lab → · Contrast checker → · Palette generator →

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