#CD4062#CD4062

#CD4062 is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.2% C 0.178 H 10.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CD4062
RGBrgb(205, 64, 98)
HSLhsl(346, 59%, 53%)
HSVhsv(346, 69%, 80%)
CMYKcmyk(0%, 68.8%, 52.2%, 19.6%)
CIE-LABlab(48.92, 57.61, 12.46)
CIE-LCHlch(48.92, 58.94, 12.20°)
OKLaboklab(58.23% 0.1747 0.0317)
OKLCHoklch(58.23% 0.178 10.3)
XYZxyz(29.2174, 17.5317, 13.3983)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4062 #40CDAB
analogous
#CD40A8 #CD4062 #CD6540
triadic
#CD4062 #62CD40 #4062CD
tetradic
#CD4062 #A8CD40 #40CDAB #6540CD
square
#CD4062 #A8CD40 #40CDAB #6540CD
split-complementary
#CD4062 #40CD65 #40A8CD
monochromatic
#741E33 #A52B48 #CD4062 #DA718A #E6A1B2

Accessibility & contrast

On white

4.66
#CD4062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CD4062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD4062
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4062#FFFFFF#000000##FFFFFF
##CD40621.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626263
Deuteranopia (green-blind)
#877F5F
Tritanopia (blue-blind)
#DF244E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd4062;
/* rgb */ color: rgb(205, 64, 98);
/* oklch */ color: oklch(58.2% 0.178 10.3);
Tailwind
colors: {
  custom: {
    50: '#e27e8e',
    500: '#cd4062',
    950: '#000000',
  },
}
SCSS
$custom: #cd4062;
$custom-light: #e27e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4062",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 345.532,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.17755,
    "h": 10.3
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#CD4062
secondary
#96D3C4
accent
#E2BC46
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CD4062

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

Preview Lab → · Contrast checker → · Palette generator →

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