#CD7894#CD7894

#CD7894 is a light, moderate pink. Relative luminance 0.285; OKLCH L 67.3% C 0.111 H 359.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#CD7894
RGBrgb(205, 120, 148)
HSLhsl(340, 46%, 64%)
HSVhsv(340, 41%, 80%)
CMYKcmyk(0%, 41.5%, 27.8%, 19.6%)
CIE-LABlab(60.39, 36.62, -0.66)
CIE-LCHlch(60.39, 36.63, 358.96°)
OKLaboklab(67.28% 0.1107 -0.0012)
OKLCHoklch(67.28% 0.111 359.4)
XYZxyz(37.2397, 28.5530, 31.5611)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7894 #78CDB1
analogous
#CD78BE #CD7894 #CD8678
triadic
#CD7894 #94CD78 #7894CD
tetradic
#CD7894 #BECD78 #78CDB1 #8678CD
square
#CD7894 #BECD78 #78CDB1 #8678CD
split-complementary
#CD7894 #78CD86 #78BECD
monochromatic
#943755 #BC4B71 #CD7894 #DEA5B7 #EED1DB

Accessibility & contrast

On white

3.13
#CD7894 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#CD7894 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7894
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7894#FFFFFF#000000##000000
##CD78941.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#848895
Deuteranopia (green-blind)
#999792
Tritanopia (blue-blind)
#DA7382
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd7894;
/* rgb */ color: rgb(205, 120, 148);
/* oklch */ color: oklch(67.3% 0.111 359.4);
Tailwind
colors: {
  custom: {
    50: '#dea0b3',
    500: '#cd7894',
    950: '#000000',
  },
}
SCSS
$custom: #cd7894;
$custom-light: #dea0b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7894",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 148
  },
  "hsl": {
    "h": 340.235,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67277,
    "c": 0.1107,
    "h": 359.4
  },
  "luminance": 0.2855
}

Semantic roles & 50–950 ramp

primary
#CD7894
secondary
#C1DFD6
accent
#B98B2C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7894

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

Preview Lab → · Contrast checker → · Palette generator →

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