#CF47AC#CF47AC

#CF47AC is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.202 H 339.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CF47AC
RGBrgb(207, 71, 172)
HSLhsl(315, 59%, 55%)
HSVhsv(315, 66%, 81%)
CMYKcmyk(0%, 65.7%, 16.9%, 18.8%)
CIE-LABlab(52.68, 63.82, -26.20)
CIE-LCHlch(52.68, 68.99, 337.68°)
OKLaboklab(61.86% 0.1893 -0.0707)
OKLCHoklch(61.86% 0.202 339.5)
XYZxyz(35.4325, 20.7536, 41.1615)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47AC #47CF6A
analogous
#AE47CF #CF47AC #CF4768
triadic
#CF47AC #ACCF47 #47ACCF
tetradic
#CF47AC #CFAE47 #47CF6A #4768CF
square
#CF47AC #CFAE47 #47CF6A #4768CF
split-complementary
#CF47AC #68CF47 #47CFAE
monochromatic
#7B2064 #AC2D8B #CF47AC #DC78C2 #E8A8D8

Accessibility & contrast

On white

4.08
#CF47AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CF47AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47AC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47AC#FFFFFF#000000##000000
##CF47AC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#7886A9
Tritanopia (blue-blind)
#DB4B73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf47ac;
/* rgb */ color: rgb(207, 71, 172);
/* oklch */ color: oklch(61.9% 0.202 339.5);
Tailwind
colors: {
  custom: {
    50: '#e184c5',
    500: '#cf47ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf47ac;
$custom-light: #e184c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47ac",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 315.441,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61862,
    "c": 0.20209,
    "h": 339.5
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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