#CD5161#CD5161

#CD5161 is a mid, vivid red. Relative luminance 0.197; OKLCH L 60.2% C 0.157 H 15.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CD5161
RGBrgb(205, 81, 97)
HSLhsl(352, 55%, 56%)
HSVhsv(352, 60%, 80%)
CMYKcmyk(0%, 60.5%, 52.7%, 19.6%)
CIE-LABlab(51.53, 50.40, 16.65)
CIE-LCHlch(51.53, 53.08, 18.28°)
OKLaboklab(60.17% 0.1517 0.0418)
OKLCHoklch(60.17% 0.157 15.4)
XYZxyz(30.2794, 19.7308, 13.5209)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5161 #51CDBD
analogous
#CD519F #CD5161 #CD7F51
triadic
#CD5161 #61CD51 #5161CD
tetradic
#CD5161 #9FCD51 #51CDBD #7F51CD
square
#CD5161 #9FCD51 #51CDBD #7F51CD
split-complementary
#CD5161 #51CD7F #519FCD
monochromatic
#7F2530 #AF3242 #CD5161 #DB818C #E8B0B7

Accessibility & contrast

On white

4.25
#CD5161 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD5161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5161
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5161#FFFFFF#000000##000000
##CD51611.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B61
Deuteranopia (green-blind)
#8D845E
Tritanopia (blue-blind)
#DF3D57
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd5161;
/* rgb */ color: rgb(205, 81, 97);
/* oklch */ color: oklch(60.2% 0.157 15.4);
Tailwind
colors: {
  custom: {
    50: '#e2878d',
    500: '#cd5161',
    950: '#000000',
  },
}
SCSS
$custom: #cd5161;
$custom-light: #e2878d;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5161",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 97
  },
  "hsl": {
    "h": 352.258,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.15732,
    "h": 15.4
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#CD5161
secondary
#A3D7D0
accent
#DFCB49
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CD5161

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

Preview Lab → · Contrast checker → · Palette generator →

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