#CF51AA#CF51AA

#CF51AA is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.187 H 340.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CF51AA
RGBrgb(207, 81, 170)
HSLhsl(318, 57%, 56%)
HSVhsv(318, 61%, 81%)
CMYKcmyk(0%, 60.9%, 17.9%, 18.8%)
CIE-LABlab(54.09, 59.44, -22.86)
CIE-LCHlch(54.09, 63.68, 338.96°)
OKLaboklab(62.87% 0.1766 -0.0614)
OKLCHoklch(62.87% 0.187 340.8)
XYZxyz(35.9311, 22.0557, 40.3872)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51AA #51CF76
analogous
#B551CF #CF51AA #CF516B
triadic
#CF51AA #AACF51 #51AACF
tetradic
#CF51AA #CFB551 #51CF76 #516BCF
square
#CF51AA #CFB551 #51CF76 #516BCF
split-complementary
#CF51AA #6BCF51 #51CFB5
monochromatic
#822466 #B2318C #CF51AA #DC81C1 #E9B1D9

Accessibility & contrast

On white

3.88
#CF51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CF51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51AA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51AA#FFFFFF#000000##000000
##CF51AA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5974AD
Deuteranopia (green-blind)
#7E89A7
Tritanopia (blue-blind)
#DB5376
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf51aa;
/* rgb */ color: rgb(207, 81, 170);
/* oklch */ color: oklch(62.9% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#e189c3',
    500: '#cf51aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf51aa;
$custom-light: #e189c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51aa",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 317.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62866,
    "c": 0.18699,
    "h": 340.8
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#CF51AA
secondary
#A4D8B3
accent
#E07448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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