#CF47AA#CF47AA

#CF47AA is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.8% C 0.201 H 340.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CF47AA
RGBrgb(207, 71, 170)
HSLhsl(316, 59%, 55%)
HSVhsv(316, 66%, 81%)
CMYKcmyk(0%, 65.7%, 17.9%, 18.8%)
CIE-LABlab(52.59, 63.54, -25.16)
CIE-LCHlch(52.59, 68.34, 338.40°)
OKLaboklab(61.77% 0.189 -0.0677)
OKLCHoklch(61.77% 0.201 340.3)
XYZxyz(35.2419, 20.6774, 40.1575)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47AA #47CF6C
analogous
#B047CF #CF47AA #CF4766
triadic
#CF47AA #AACF47 #47AACF
tetradic
#CF47AA #CFB047 #47CF6C #4766CF
square
#CF47AA #CFB047 #47CF6C #4766CF
split-complementary
#CF47AA #66CF47 #47CFB0
monochromatic
#7B2063 #AC2D89 #CF47AA #DC78C0 #E8A8D7

Accessibility & contrast

On white

4.09
#CF47AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CF47AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47AA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47AA#FFFFFF#000000##000000
##CF47AA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AD
Deuteranopia (green-blind)
#7985A7
Tritanopia (blue-blind)
#DB4A72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf47aa;
/* rgb */ color: rgb(207, 71, 170);
/* oklch */ color: oklch(61.8% 0.201 340.3);
Tailwind
colors: {
  custom: {
    50: '#e184c3',
    500: '#cf47aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf47aa;
$custom-light: #e184c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47aa",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 316.324,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.20076,
    "h": 340.3
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#CF47AA
secondary
#9CD6AC
accent
#E27046
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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