#CD5262#CD5262

#CD5262 is a mid, vivid red. Relative luminance 0.199; OKLCH L 60.3% C 0.156 H 15.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD5262
RGBrgb(205, 82, 98)
HSLhsl(352, 55%, 56%)
HSVhsv(352, 60%, 80%)
CMYKcmyk(0%, 60%, 52.2%, 19.6%)
CIE-LABlab(51.72, 50.03, 16.32)
CIE-LCHlch(51.72, 52.63, 18.06°)
OKLaboklab(60.33% 0.1506 0.0411)
OKLCHoklch(60.33% 0.156 15.2)
XYZxyz(30.4012, 19.8993, 13.7929)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5262 #52CDBD
analogous
#CD52A0 #CD5262 #CD8052
triadic
#CD5262 #62CD52 #5262CD
tetradic
#CD5262 #A0CD52 #52CDBD #8052CD
square
#CD5262 #A0CD52 #52CDBD #8052CD
split-complementary
#CD5262 #52CD80 #52A0CD
monochromatic
#802531 #AF3343 #CD5262 #DB818D #E8B1B8

Accessibility & contrast

On white

4.22
#CD5262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD5262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5262
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5262#FFFFFF#000000##000000
##CD52621.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5262;
/* rgb */ color: rgb(205, 82, 98);
/* oklch */ color: oklch(60.3% 0.156 15.2);
Tailwind
colors: {
  custom: {
    50: '#e2888e',
    500: '#cd5262',
    950: '#000000',
  },
}
SCSS
$custom: #cd5262;
$custom-light: #e2888e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5262",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 352.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.15612,
    "h": 15.2
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#CD5262
secondary
#A4D7D0
accent
#DECB49
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CD5262

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

Preview Lab → · Contrast checker → · Palette generator →

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