#CF47AB#CF47AB

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

Color values

HEX#CF47AB
RGBrgb(207, 71, 171)
HSLhsl(316, 59%, 55%)
HSVhsv(316, 66%, 81%)
CMYKcmyk(0%, 65.7%, 17.4%, 18.8%)
CIE-LABlab(52.64, 63.68, -25.68)
CIE-LCHlch(52.64, 68.66, 338.04°)
OKLaboklab(61.82% 0.1892 -0.0692)
OKLCHoklch(61.82% 0.201 339.9)
XYZxyz(35.3369, 20.7154, 40.6576)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF47AB #47CF6B
analogous
#AF47CF #CF47AB #CF4767
triadic
#CF47AB #ABCF47 #47ABCF
tetradic
#CF47AB #CFAF47 #47CF6B #4767CF
square
#CF47AB #CFAF47 #47CF6B #4767CF
split-complementary
#CF47AB #67CF47 #47CFAF
monochromatic
#7B2063 #AC2D8A #CF47AB #DC78C1 #E8A8D7

Accessibility & contrast

On white

4.08
#CF47AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF47AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF47AB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF47AB#FFFFFF#000000##000000
##CF47AB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#7985A8
Tritanopia (blue-blind)
#DB4B73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf47ab;
/* rgb */ color: rgb(207, 71, 171);
/* oklch */ color: oklch(61.8% 0.201 339.9);
Tailwind
colors: {
  custom: {
    50: '#e184c4',
    500: '#cf47ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf47ab;
$custom-light: #e184c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf47ab",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 315.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.20142,
    "h": 339.9
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#CF47AB
secondary
#9CD6AB
accent
#E26F46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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