#CD5274#CD5274

#CD5274 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.8% C 0.158 H 5.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD5274
RGBrgb(205, 82, 116)
HSLhsl(343, 55%, 56%)
HSVhsv(343, 60%, 80%)
CMYKcmyk(0%, 60%, 43.4%, 19.6%)
CIE-LABlab(52.15, 51.71, 6.17)
CIE-LCHlch(52.15, 52.07, 6.80°)
OKLaboklab(60.78% 0.1575 0.0164)
OKLCHoklch(60.78% 0.158 5.9)
XYZxyz(31.3487, 20.2783, 18.7828)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5274 #52CDAB
analogous
#CD52B2 #CD5274 #CD6E52
triadic
#CD5274 #74CD52 #5274CD
tetradic
#CD5274 #B2CD52 #52CDAB #6E52CD
square
#CD5274 #B2CD52 #52CDAB #6E52CD
split-complementary
#CD5274 #52CD6E #52B2CD
monochromatic
#80253E #AF3355 #CD5274 #DB819A #E8B1C0

Accessibility & contrast

On white

4.15
#CD5274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD5274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5274
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5274#FFFFFF#000000##000000
##CD52741.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D75
Deuteranopia (green-blind)
#8B8571
Tritanopia (blue-blind)
#DE435F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5274;
/* rgb */ color: rgb(205, 82, 116);
/* oklch */ color: oklch(60.8% 0.158 5.9);
Tailwind
colors: {
  custom: {
    50: '#e1889b',
    500: '#cd5274',
    950: '#000000',
  },
}
SCSS
$custom: #cd5274;
$custom-light: #e1889b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5274",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 343.415,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.15832,
    "h": 5.9
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#CD5274
secondary
#A4D7C9
accent
#DEB549
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5274

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

Preview Lab → · Contrast checker → · Palette generator →

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