#CD5166#CD5166

#CD5166 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.3% C 0.158 H 12.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD5166
RGBrgb(205, 81, 102)
HSLhsl(350, 55%, 56%)
HSVhsv(350, 60%, 80%)
CMYKcmyk(0%, 60.5%, 50.2%, 19.6%)
CIE-LABlab(51.64, 50.83, 13.82)
CIE-LCHlch(51.64, 52.68, 15.21°)
OKLaboklab(60.29% 0.1536 0.0352)
OKLCHoklch(60.29% 0.158 12.9)
XYZxyz(30.5200, 19.8270, 14.7876)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5166 #51CDB8
analogous
#CD51A4 #CD5166 #CD7A51
triadic
#CD5166 #66CD51 #5166CD
tetradic
#CD5166 #A4CD51 #51CDB8 #7A51CD
square
#CD5166 #A4CD51 #51CDB8 #7A51CD
split-complementary
#CD5166 #51CD7A #51A4CD
monochromatic
#7F2534 #AF3247 #CD5166 #DB8190 #E8B0BA

Accessibility & contrast

On white

4.23
#CD5166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD5166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5166
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5166#FFFFFF#000000##000000
##CD51661.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6B66
Deuteranopia (green-blind)
#8D8463
Tritanopia (blue-blind)
#DF3E59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd5166;
/* rgb */ color: rgb(205, 81, 102);
/* oklch */ color: oklch(60.3% 0.158 12.9);
Tailwind
colors: {
  custom: {
    50: '#e18791',
    500: '#cd5166',
    950: '#000000',
  },
}
SCSS
$custom: #cd5166;
$custom-light: #e18791;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5166",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 349.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.15757,
    "h": 12.9
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#CD5166
secondary
#A3D7CE
accent
#DFC549
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CD5166

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

Preview Lab → · Contrast checker → · Palette generator →

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