#CF47A7#CF47A7

#CF47A7 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.6% C 0.199 H 341.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CF47A7
RGBrgb(207, 71, 167)
HSLhsl(318, 59%, 55%)
HSVhsv(318, 66%, 81%)
CMYKcmyk(0%, 65.7%, 19.3%, 18.8%)
CIE-LABlab(52.47, 63.12, -23.59)
CIE-LCHlch(52.47, 67.39, 339.50°)
OKLaboklab(61.64% 0.1884 -0.0633)
OKLCHoklch(61.64% 0.199 341.4)
XYZxyz(34.9614, 20.5652, 38.6799)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47A7 #47CF6F
analogous
#B347CF #CF47A7 #CF4763
triadic
#CF47A7 #A7CF47 #47A7CF
tetradic
#CF47A7 #CFB347 #47CF6F #4763CF
square
#CF47A7 #CFB347 #47CF6F #4763CF
split-complementary
#CF47A7 #63CF47 #47CFB3
monochromatic
#7B2061 #AC2D87 #CF47A7 #DC78BE #E8A8D5

Accessibility & contrast

On white

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

On black

5.11
#CF47A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47A7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47A7#FFFFFF#000000##000000
##CF47A71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#DB4971
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf47a7;
/* rgb */ color: rgb(207, 71, 167);
/* oklch */ color: oklch(61.6% 0.199 341.4);
Tailwind
colors: {
  custom: {
    50: '#e184c1',
    500: '#cf47a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf47a7;
$custom-light: #e184c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47a7",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 317.647,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.1988,
    "h": 341.4
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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