#CD5275#CD5275

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

Color values

HEX#CD5275
RGBrgb(205, 82, 117)
HSLhsl(343, 55%, 56%)
HSVhsv(343, 60%, 80%)
CMYKcmyk(0%, 60%, 42.9%, 19.6%)
CIE-LABlab(52.18, 51.81, 5.61)
CIE-LCHlch(52.18, 52.11, 6.18°)
OKLaboklab(60.81% 0.1578 0.015)
OKLCHoklch(60.81% 0.159 5.4)
XYZxyz(31.4071, 20.3017, 19.0908)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5275 #52CDAA
analogous
#CD52B3 #CD5275 #CD6D52
triadic
#CD5275 #75CD52 #5275CD
tetradic
#CD5275 #B3CD52 #52CDAA #6D52CD
square
#CD5275 #B3CD52 #52CDAA #6D52CD
split-complementary
#CD5275 #52CD6D #52B3CD
monochromatic
#80253F #AF3356 #CD5275 #DB819B #E8B1C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5275#FFFFFF#000000##000000
##CD52751.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)
#6A6D76
Deuteranopia (green-blind)
#8B8572
Tritanopia (blue-blind)
#DE435F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5275;
/* rgb */ color: rgb(205, 82, 117);
/* oklch */ color: oklch(60.8% 0.159 5.4);
Tailwind
colors: {
  custom: {
    50: '#e1889c',
    500: '#cd5275',
    950: '#000000',
  },
}
SCSS
$custom: #cd5275;
$custom-light: #e1889c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5275",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 117
  },
  "hsl": {
    "h": 342.927,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.15854,
    "h": 5.4
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#CD5275
secondary
#A4D7C8
accent
#DEB449
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5275

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

Preview Lab → · Contrast checker → · Palette generator →

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