#CD3FA8#CD3FA8

#CD3FA8 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.208 H 340.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CD3FA8
RGBrgb(205, 63, 168)
HSLhsl(316, 59%, 53%)
HSVhsv(316, 69%, 80%)
CMYKcmyk(0%, 69.3%, 18%, 19.6%)
CIE-LABlab(51.11, 65.75, -26.31)
CIE-LCHlch(51.11, 70.81, 338.19°)
OKLaboklab(60.6% 0.1958 -0.0709)
OKLCHoklch(60.6% 0.208 340.1)
XYZxyz(34.0231, 19.3645, 38.9841)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3FA8 #3FCD64
analogous
#AB3FCD #CD3FA8 #CD3F61
triadic
#CD3FA8 #A8CD3F #3FA8CD
tetradic
#CD3FA8 #CDAB3F #3FCD64 #3F61CD
square
#CD3FA8 #CDAB3F #3FCD64 #3F61CD
split-complementary
#CD3FA8 #61CD3F #3FCDAB
monochromatic
#741E5D #A42B84 #CD3FA8 #DA70BE #E6A0D4

Accessibility & contrast

On white

4.31
#CD3FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CD3FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3FA8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3FA8#FFFFFF#000000##000000
##CD3FA81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#D9436E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd3fa8;
/* rgb */ color: rgb(205, 63, 168);
/* oklch */ color: oklch(60.6% 0.208 340.1);
Tailwind
colors: {
  custom: {
    50: '#e07fc2',
    500: '#cd3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3fa8;
$custom-light: #e07fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3fa8",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 315.634,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60601,
    "c": 0.20821,
    "h": 340.1
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#CD3FA8
secondary
#95D3A5
accent
#E26F46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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