#CF51A9#CF51A9

#CF51A9 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.186 H 341.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CF51A9
RGBrgb(207, 81, 169)
HSLhsl(318, 57%, 56%)
HSVhsv(318, 61%, 81%)
CMYKcmyk(0%, 60.9%, 18.4%, 18.8%)
CIE-LABlab(54.05, 59.29, -22.34)
CIE-LCHlch(54.05, 63.36, 339.35°)
OKLaboklab(62.82% 0.1764 -0.0599)
OKLCHoklch(62.82% 0.186 341.2)
XYZxyz(35.8368, 22.0180, 39.8909)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51A9 #51CF77
analogous
#B651CF #CF51A9 #CF516A
triadic
#CF51A9 #A9CF51 #51A9CF
tetradic
#CF51A9 #CFB651 #51CF77 #516ACF
square
#CF51A9 #CFB651 #51CF77 #516ACF
split-complementary
#CF51A9 #6ACF51 #51CFB6
monochromatic
#822465 #B2318B #CF51A9 #DC81C1 #E9B1D8

Accessibility & contrast

On white

3.89
#CF51A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CF51A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51A9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51A9#FFFFFF#000000##000000
##CF51A91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf51a9;
/* rgb */ color: rgb(207, 81, 169);
/* oklch */ color: oklch(62.8% 0.186 341.2);
Tailwind
colors: {
  custom: {
    50: '#e189c2',
    500: '#cf51a9',
    950: '#000000',
  },
}
SCSS
$custom: #cf51a9;
$custom-light: #e189c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51a9",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 318.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.18632,
    "h": 341.2
  },
  "luminance": 0.22015
}

Semantic roles & 50–950 ramp

primary
#CF51A9
secondary
#A4D8B4
accent
#E07648
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF51A9

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

Preview Lab → · Contrast checker → · Palette generator →

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