#CF47A6#CF47A6

#CF47A6 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.6% C 0.198 H 341.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF47A6
RGBrgb(207, 71, 166)
HSLhsl(318, 59%, 55%)
HSVhsv(318, 66%, 81%)
CMYKcmyk(0%, 65.7%, 19.8%, 18.8%)
CIE-LABlab(52.43, 62.98, -23.07)
CIE-LCHlch(52.43, 67.07, 339.88°)
OKLaboklab(61.6% 0.1883 -0.0619)
OKLCHoklch(61.6% 0.198 341.8)
XYZxyz(34.8693, 20.5283, 38.1950)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47A6 #47CF70
analogous
#B447CF #CF47A6 #CF4762
triadic
#CF47A6 #A6CF47 #47A6CF
tetradic
#CF47A6 #CFB447 #47CF70 #4762CF
square
#CF47A6 #CFB447 #47CF70 #4762CF
split-complementary
#CF47A6 #62CF47 #47CFB4
monochromatic
#7B2060 #AC2D86 #CF47A6 #DC78BD #E8A8D5

Accessibility & contrast

On white

4.11
#CF47A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CF47A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47A6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47A6#FFFFFF#000000##000000
##CF47A61.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FA9
Deuteranopia (green-blind)
#7B85A3
Tritanopia (blue-blind)
#DB4970
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf47a6;
/* rgb */ color: rgb(207, 71, 166);
/* oklch */ color: oklch(61.6% 0.198 341.8);
Tailwind
colors: {
  custom: {
    50: '#e183c0',
    500: '#cf47a6',
    950: '#000000',
  },
}
SCSS
$custom: #cf47a6;
$custom-light: #e183c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47a6",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 318.088,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.19815,
    "h": 341.8
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#CF47A6
secondary
#9CD6AD
accent
#E27546
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF47A6

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

Preview Lab → · Contrast checker → · Palette generator →

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