#CF47AF#CF47AF

#CF47AF is a mid, highly saturated pink. Relative luminance 0.209; OKLCH L 62.0% C 0.204 H 338.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF47AF
RGBrgb(207, 71, 175)
HSLhsl(314, 59%, 55%)
HSVhsv(314, 66%, 81%)
CMYKcmyk(0%, 65.7%, 15.5%, 18.8%)
CIE-LABlab(52.81, 64.25, -27.76)
CIE-LCHlch(52.81, 69.99, 336.64°)
OKLaboklab(62% 0.1898 -0.0751)
OKLCHoklch(62% 0.204 338.4)
XYZxyz(35.7239, 20.8702, 42.6960)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47AF #47CF67
analogous
#AB47CF #CF47AF #CF476B
triadic
#CF47AF #AFCF47 #47AFCF
tetradic
#CF47AF #CFAB47 #47CF67 #476BCF
square
#CF47AF #CFAB47 #47CF67 #476BCF
split-complementary
#CF47AF #6BCF47 #47CFAB
monochromatic
#7B2066 #AC2D8E #CF47AF #DC78C4 #E8A8D9

Accessibility & contrast

On white

4.06
#CF47AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF47AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47AF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47AF#FFFFFF#000000##000000
##CF47AF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B2
Deuteranopia (green-blind)
#7786AC
Tritanopia (blue-blind)
#DA4C75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf47af;
/* rgb */ color: rgb(207, 71, 175);
/* oklch */ color: oklch(62.0% 0.204 338.4);
Tailwind
colors: {
  custom: {
    50: '#e184c7',
    500: '#cf47af',
    950: '#000000',
  },
}
SCSS
$custom: #cf47af;
$custom-light: #e184c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47af",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 314.118,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.20413,
    "h": 338.4
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#CF47AF
secondary
#9CD6AA
accent
#E26B46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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