#CF47A2#CF47A2

#CF47A2 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.196 H 343.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF47A2
RGBrgb(207, 71, 162)
HSLhsl(320, 59%, 55%)
HSVhsv(320, 66%, 81%)
CMYKcmyk(0%, 65.7%, 21.7%, 18.8%)
CIE-LABlab(52.27, 62.43, -20.97)
CIE-LCHlch(52.27, 65.86, 341.44°)
OKLaboklab(61.43% 0.1875 -0.056)
OKLCHoklch(61.43% 0.196 343.4)
XYZxyz(34.5081, 20.3839, 36.2925)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47A2 #47CF74
analogous
#B847CF #CF47A2 #CF475E
triadic
#CF47A2 #A2CF47 #47A2CF
tetradic
#CF47A2 #CFB847 #47CF74 #475ECF
square
#CF47A2 #CFB847 #47CF74 #475ECF
split-complementary
#CF47A2 #5ECF47 #47CFB8
monochromatic
#7B205D #AC2D82 #CF47A2 #DC78BB #E8A8D3

Accessibility & contrast

On white

4.14
#CF47A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF47A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47A2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47A2#FFFFFF#000000##000000
##CF47A21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#DC476E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf47a2;
/* rgb */ color: rgb(207, 71, 162);
/* oklch */ color: oklch(61.4% 0.196 343.4);
Tailwind
colors: {
  custom: {
    50: '#e183bd',
    500: '#cf47a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf47a2;
$custom-light: #e183bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47a2",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 319.853,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.19562,
    "h": 343.4
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#CF47A2
secondary
#9CD6AF
accent
#E27A46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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