#CF47A4#CF47A4

#CF47A4 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.197 H 342.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF47A4
RGBrgb(207, 71, 164)
HSLhsl(319, 59%, 55%)
HSVhsv(319, 66%, 81%)
CMYKcmyk(0%, 65.7%, 20.8%, 18.8%)
CIE-LABlab(52.35, 62.71, -22.02)
CIE-LCHlch(52.35, 66.46, 340.65°)
OKLaboklab(61.51% 0.1879 -0.0589)
OKLCHoklch(61.51% 0.197 342.6)
XYZxyz(34.6873, 20.4555, 37.2363)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47A4 #47CF72
analogous
#B647CF #CF47A4 #CF4760
triadic
#CF47A4 #A4CF47 #47A4CF
tetradic
#CF47A4 #CFB647 #47CF72 #4760CF
square
#CF47A4 #CFB647 #47CF72 #4760CF
split-complementary
#CF47A4 #60CF47 #47CFB6
monochromatic
#7B205F #AC2D84 #CF47A4 #DC78BC #E8A8D4

Accessibility & contrast

On white

4.13
#CF47A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF47A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47A4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47A4#FFFFFF#000000##000000
##CF47A41.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#526FA7
Deuteranopia (green-blind)
#7B85A1
Tritanopia (blue-blind)
#DC486F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf47a4;
/* rgb */ color: rgb(207, 71, 164);
/* oklch */ color: oklch(61.5% 0.197 342.6);
Tailwind
colors: {
  custom: {
    50: '#e183bf',
    500: '#cf47a4',
    950: '#000000',
  },
}
SCSS
$custom: #cf47a4;
$custom-light: #e183bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47a4",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 318.971,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.19688,
    "h": 342.6
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#CF47A4
secondary
#9CD6AE
accent
#E27746
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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