#CD5170#CD5170

#CD5170 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.5% C 0.159 H 7.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CD5170
RGBrgb(205, 81, 112)
HSLhsl(345, 55%, 56%)
HSVhsv(345, 60%, 80%)
CMYKcmyk(0%, 60.5%, 45.4%, 19.6%)
CIE-LABlab(51.88, 51.76, 8.17)
CIE-LCHlch(51.88, 52.40, 8.97°)
OKLaboklab(60.55% 0.1574 0.0214)
OKLCHoklch(60.55% 0.159 7.7)
XYZxyz(31.0461, 20.0375, 17.5588)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5170 #51CDAE
analogous
#CD51AE #CD5170 #CD7051
triadic
#CD5170 #70CD51 #5170CD
tetradic
#CD5170 #AECD51 #51CDAE #7051CD
square
#CD5170 #AECD51 #51CDAE #7051CD
split-complementary
#CD5170 #51CD70 #51AECD
monochromatic
#7F253B #AF3251 #CD5170 #DB8197 #E8B0BE

Accessibility & contrast

On white

4.19
#CD5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CD5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5170
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5170#FFFFFF#000000##000000
##CD51701.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C71
Deuteranopia (green-blind)
#8B856D
Tritanopia (blue-blind)
#DE415D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5170;
/* rgb */ color: rgb(205, 81, 112);
/* oklch */ color: oklch(60.5% 0.159 7.7);
Tailwind
colors: {
  custom: {
    50: '#e18798',
    500: '#cd5170',
    950: '#000000',
  },
}
SCSS
$custom: #cd5170;
$custom-light: #e18798;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5170",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 345,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.15886,
    "h": 7.7
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#CD5170
secondary
#A3D7CA
accent
#DFB949
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CD5170

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

Preview Lab → · Contrast checker → · Palette generator →

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