#CD5074#CD5074

#CD5074 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.161 H 5.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD5074
RGBrgb(205, 80, 116)
HSLhsl(343, 56%, 56%)
HSVhsv(343, 61%, 80%)
CMYKcmyk(0%, 61%, 43.4%, 19.6%)
CIE-LABlab(51.82, 52.60, 5.69)
CIE-LCHlch(51.82, 52.91, 6.17°)
OKLaboklab(60.53% 0.1603 0.0152)
OKLCHoklch(60.53% 0.161 5.4)
XYZxyz(31.2000, 19.9810, 18.7333)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5074 #50CDA9
analogous
#CD50B2 #CD5074 #CD6A50
triadic
#CD5074 #74CD50 #5074CD
tetradic
#CD5074 #B2CD50 #50CDA9 #6A50CD
square
#CD5074 #B2CD50 #50CDA9 #6A50CD
split-complementary
#CD5074 #50CD6A #50B2CD
monochromatic
#7E243E #AE3256 #CD5074 #DB809A #E8AFC0

Accessibility & contrast

On white

4.20
#CD5074 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD5074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5074
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5074#FFFFFF#000000##000000
##CD50741.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C75
Deuteranopia (green-blind)
#8A8571
Tritanopia (blue-blind)
#DE415E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd5074;
/* rgb */ color: rgb(205, 80, 116);
/* oklch */ color: oklch(60.5% 0.161 5.4);
Tailwind
colors: {
  custom: {
    50: '#e1879b',
    500: '#cd5074',
    950: '#000000',
  },
}
SCSS
$custom: #cd5074;
$custom-light: #e1879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5074",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 342.72,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.16101,
    "h": 5.4
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#CD5074
secondary
#A2D6C7
accent
#DFB449
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5074

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

Preview Lab → · Contrast checker → · Palette generator →

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