#CD46A8#CD46A8

#CD46A8 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.199 H 340.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD46A8
RGBrgb(205, 70, 168)
HSLhsl(316, 57%, 54%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 65.9%, 18%, 19.6%)
CIE-LABlab(52.05, 63.12, -24.85)
CIE-LCHlch(52.05, 67.84, 338.51°)
OKLaboklab(61.29% 0.1878 -0.0669)
OKLCHoklch(61.29% 0.199 340.4)
XYZxyz(34.4357, 20.1898, 39.1216)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD46A8 #46CD6B
analogous
#AE46CD #CD46A8 #CD4665
triadic
#CD46A8 #A8CD46 #46A8CD
tetradic
#CD46A8 #CDAE46 #46CD6B #4665CD
square
#CD46A8 #CDAE46 #46CD6B #4665CD
split-complementary
#CD46A8 #65CD46 #46CDAE
monochromatic
#782060 #A82D87 #CD46A8 #DA76BF #E7A6D5

Accessibility & contrast

On white

4.17
#CD46A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD46A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD46A8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD46A8#FFFFFF#000000##000000
##CD46A81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#D94971
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd46a8;
/* rgb */ color: rgb(205, 70, 168);
/* oklch */ color: oklch(61.3% 0.199 340.4);
Tailwind
colors: {
  custom: {
    50: '#e083c2',
    500: '#cd46a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd46a8;
$custom-light: #e083c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd46a8",
  "rgb": {
    "r": 205,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 316.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61287,
    "c": 0.19939,
    "h": 340.4
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#CD46A8
secondary
#9BD4AA
accent
#E17147
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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