#CF51AF#CF51AF

#CF51AF is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.1% C 0.190 H 338.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CF51AF
RGBrgb(207, 81, 175)
HSLhsl(315, 57%, 56%)
HSVhsv(315, 61%, 81%)
CMYKcmyk(0%, 60.9%, 15.5%, 18.8%)
CIE-LABlab(54.29, 60.17, -25.46)
CIE-LCHlch(54.29, 65.33, 337.06°)
OKLaboklab(63.08% 0.1776 -0.0687)
OKLCHoklch(63.08% 0.19 338.9)
XYZxyz(36.4131, 22.2485, 42.9257)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51AF #51CF71
analogous
#B051CF #CF51AF #CF5170
triadic
#CF51AF #AFCF51 #51AFCF
tetradic
#CF51AF #CFB051 #51CF71 #5170CF
square
#CF51AF #CFB051 #51CF71 #5170CF
split-complementary
#CF51AF #70CF51 #51CFB0
monochromatic
#82246A #B23191 #CF51AF #DC81C5 #E9B1DB

Accessibility & contrast

On white

3.85
#CF51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CF51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51AF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51AF#FFFFFF#000000##000000
##CF51AF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#DA5579
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf51af;
/* rgb */ color: rgb(207, 81, 175);
/* oklch */ color: oklch(63.1% 0.190 338.9);
Tailwind
colors: {
  custom: {
    50: '#e189c7',
    500: '#cf51af',
    950: '#000000',
  },
}
SCSS
$custom: #cf51af;
$custom-light: #e189c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51af",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 315.238,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63082,
    "c": 0.19042,
    "h": 338.9
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#CF51AF
secondary
#A4D8B1
accent
#E06E48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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