#CF47A1#CF47A1

#CF47A1 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.195 H 343.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF47A1
RGBrgb(207, 71, 161)
HSLhsl(320, 59%, 55%)
HSVhsv(320, 66%, 81%)
CMYKcmyk(0%, 65.7%, 22.2%, 18.8%)
CIE-LABlab(52.23, 62.30, -20.44)
CIE-LCHlch(52.23, 65.57, 341.84°)
OKLaboklab(61.39% 0.1872 -0.0545)
OKLCHoklch(61.39% 0.195 343.8)
XYZxyz(34.4195, 20.3484, 35.8262)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47A1 #47CF75
analogous
#B947CF #CF47A1 #CF475D
triadic
#CF47A1 #A1CF47 #47A1CF
tetradic
#CF47A1 #CFB947 #47CF75 #475DCF
square
#CF47A1 #CFB947 #47CF75 #475DCF
split-complementary
#CF47A1 #5DCF47 #47CFB9
monochromatic
#7B205D #AC2D81 #CF47A1 #DC78BA #E8A8D3

Accessibility & contrast

On white

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

On black

5.07
#CF47A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47A1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47A1#FFFFFF#000000##000000
##CF47A11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#DC476E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf47a1;
/* rgb */ color: rgb(207, 71, 161);
/* oklch */ color: oklch(61.4% 0.195 343.8);
Tailwind
colors: {
  custom: {
    50: '#e183bd',
    500: '#cf47a1',
    950: '#000000',
  },
}
SCSS
$custom: #cf47a1;
$custom-light: #e183bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47a1",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 320.294,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61386,
    "c": 0.19501,
    "h": 343.8
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#CF47A1
secondary
#9CD6B0
accent
#E27B46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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