#CD5162#CD5162

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

Color values

HEX#CD5162
RGBrgb(205, 81, 98)
HSLhsl(352, 55%, 56%)
HSVhsv(352, 60%, 80%)
CMYKcmyk(0%, 60.5%, 52.2%, 19.6%)
CIE-LABlab(51.55, 50.49, 16.09)
CIE-LCHlch(51.55, 52.99, 17.67°)
OKLaboklab(60.2% 0.1521 0.0405)
OKLCHoklch(60.2% 0.157 14.9)
XYZxyz(30.3264, 19.7496, 13.7680)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5162 #51CDBC
analogous
#CD51A0 #CD5162 #CD7E51
triadic
#CD5162 #62CD51 #5162CD
tetradic
#CD5162 #A0CD51 #51CDBC #7E51CD
square
#CD5162 #A0CD51 #51CDBC #7E51CD
split-complementary
#CD5162 #51CD7E #51A0CD
monochromatic
#7F2531 #AF3243 #CD5162 #DB818D #E8B0B8

Accessibility & contrast

On white

4.24
#CD5162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5162#FFFFFF#000000##000000
##CD51621.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B62
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#DF3D58
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd5162;
/* rgb */ color: rgb(205, 81, 98);
/* oklch */ color: oklch(60.2% 0.157 14.9);
Tailwind
colors: {
  custom: {
    50: '#e2878e',
    500: '#cd5162',
    950: '#000000',
  },
}
SCSS
$custom: #cd5162;
$custom-light: #e2878e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5162",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 351.774,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.15735,
    "h": 14.9
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

primary
#CD5162
secondary
#A3D7CF
accent
#DFCA49
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CD5162

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

Preview Lab → · Contrast checker → · Palette generator →

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