#CD5277#CD5277

#CD5277 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.159 H 4.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD5277
RGBrgb(205, 82, 119)
HSLhsl(342, 55%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60%, 42%, 19.6%)
CIE-LABlab(52.23, 52.02, 4.49)
CIE-LCHlch(52.23, 52.21, 4.93°)
OKLaboklab(60.87% 0.1586 0.0122)
OKLCHoklch(60.87% 0.159 4.4)
XYZxyz(31.5260, 20.3492, 19.7168)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5277 #52CDA8
analogous
#CD52B5 #CD5277 #CD6B52
triadic
#CD5277 #77CD52 #5277CD
tetradic
#CD5277 #B5CD52 #52CDA8 #6B52CD
square
#CD5277 #B5CD52 #52CDA8 #6B52CD
split-complementary
#CD5277 #52CD6B #52B5CD
monochromatic
#802540 #AF3358 #CD5277 #DB819C #E8B1C2

Accessibility & contrast

On white

4.14
#CD5277 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD5277 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5277
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5277#FFFFFF#000000##000000
##CD52771.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E78
Deuteranopia (green-blind)
#8A8674
Tritanopia (blue-blind)
#DE4460
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5277;
/* rgb */ color: rgb(205, 82, 119);
/* oklch */ color: oklch(60.9% 0.159 4.4);
Tailwind
colors: {
  custom: {
    50: '#e1889e',
    500: '#cd5277',
    950: '#000000',
  },
}
SCSS
$custom: #cd5277;
$custom-light: #e1889e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5277",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 119
  },
  "hsl": {
    "h": 341.951,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.15903,
    "h": 4.4
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#CD5277
secondary
#A4D7C7
accent
#DEB249
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5277

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

Preview Lab → · Contrast checker → · Palette generator →

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