#CF47AD#CF47AD

#CF47AD is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 61.9% C 0.203 H 339.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF47AD
RGBrgb(207, 71, 173)
HSLhsl(315, 59%, 55%)
HSVhsv(315, 66%, 81%)
CMYKcmyk(0%, 65.7%, 16.4%, 18.8%)
CIE-LABlab(52.72, 63.97, -26.72)
CIE-LCHlch(52.72, 69.32, 337.33°)
OKLaboklab(61.91% 0.1895 -0.0721)
OKLCHoklch(61.91% 0.203 339.2)
XYZxyz(35.5289, 20.7922, 41.6692)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47AD #47CF69
analogous
#AD47CF #CF47AD #CF4769
triadic
#CF47AD #ADCF47 #47ADCF
tetradic
#CF47AD #CFAD47 #47CF69 #4769CF
square
#CF47AD #CFAD47 #47CF69 #4769CF
split-complementary
#CF47AD #69CF47 #47CFAD
monochromatic
#7B2065 #AC2D8C #CF47AD #DC78C3 #E8A8D8

Accessibility & contrast

On white

4.07
#CF47AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF47AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47AD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47AD#FFFFFF#000000##000000
##CF47AD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E70B0
Deuteranopia (green-blind)
#7886AA
Tritanopia (blue-blind)
#DA4C74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf47ad;
/* rgb */ color: rgb(207, 71, 173);
/* oklch */ color: oklch(61.9% 0.203 339.2);
Tailwind
colors: {
  custom: {
    50: '#e184c5',
    500: '#cf47ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf47ad;
$custom-light: #e184c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47ad",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 315,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.20277,
    "h": 339.2
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#CF47AD
secondary
#9CD6AB
accent
#E26D46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF47AD

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

Preview Lab → · Contrast checker → · Palette generator →

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