#CD5175#CD5175

#CD5175 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.160 H 5.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD5175
RGBrgb(205, 81, 117)
HSLhsl(343, 55%, 56%)
HSVhsv(343, 60%, 80%)
CMYKcmyk(0%, 60.5%, 42.9%, 19.6%)
CIE-LABlab(52.01, 52.26, 5.37)
CIE-LCHlch(52.01, 52.53, 5.86°)
OKLaboklab(60.69% 0.1593 0.0144)
OKLCHoklch(60.69% 0.16 5.2)
XYZxyz(31.3323, 20.1520, 19.0659)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5175 #51CDA9
analogous
#CD51B3 #CD5175 #CD6B51
triadic
#CD5175 #75CD51 #5175CD
tetradic
#CD5175 #B3CD51 #51CDA9 #6B51CD
square
#CD5175 #B3CD51 #51CDA9 #6B51CD
split-complementary
#CD5175 #51CD6B #51B3CD
monochromatic
#7F253F #AF3256 #CD5175 #DB819B #E8B0C0

Accessibility & contrast

On white

4.18
#CD5175 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD5175 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5175
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5175#FFFFFF#000000##000000
##CD51751.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D76
Deuteranopia (green-blind)
#8A8572
Tritanopia (blue-blind)
#DE425F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5175;
/* rgb */ color: rgb(205, 81, 117);
/* oklch */ color: oklch(60.7% 0.160 5.2);
Tailwind
colors: {
  custom: {
    50: '#e1889c',
    500: '#cd5175',
    950: '#000000',
  },
}
SCSS
$custom: #cd5175;
$custom-light: #e1889c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5175",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 342.581,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.1599,
    "h": 5.2
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#CD5175
secondary
#A3D7C8
accent
#DFB349
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5175

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

Preview Lab → · Contrast checker → · Palette generator →

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