#CD46A7#CD46A7

#CD46A7 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.199 H 340.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD46A7
RGBrgb(205, 70, 167)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 65.9%, 18.5%, 19.6%)
CIE-LABlab(52.01, 62.98, -24.33)
CIE-LCHlch(52.01, 67.52, 338.88°)
OKLaboklab(61.24% 0.1877 -0.0654)
OKLCHoklch(61.24% 0.199 340.8)
XYZxyz(34.3429, 20.1527, 38.6329)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD46A7 #46CD6C
analogous
#B046CD #CD46A7 #CD4664
triadic
#CD46A7 #A7CD46 #46A7CD
tetradic
#CD46A7 #CDB046 #46CD6C #4664CD
square
#CD46A7 #CDB046 #46CD6C #4664CD
split-complementary
#CD46A7 #64CD46 #46CDB0
monochromatic
#78205F #A82D86 #CD46A7 #DA76BE #E7A6D5

Accessibility & contrast

On white

4.18
#CD46A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD46A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD46A7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD46A7#FFFFFF#000000##000000
##CD46A71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D94970
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd46a7;
/* rgb */ color: rgb(205, 70, 167);
/* oklch */ color: oklch(61.2% 0.199 340.8);
Tailwind
colors: {
  custom: {
    50: '#e083c1',
    500: '#cd46a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd46a7;
$custom-light: #e083c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd46a7",
  "rgb": {
    "r": 205,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 316.889,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.19873,
    "h": 340.8
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#CD46A7
secondary
#9BD4AB
accent
#E17247
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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