#CF51B4#CF51B4

#CF51B4 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.3% C 0.194 H 336.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CF51B4
RGBrgb(207, 81, 180)
HSLhsl(313, 57%, 56%)
HSVhsv(313, 61%, 81%)
CMYKcmyk(0%, 60.9%, 13%, 18.8%)
CIE-LABlab(54.50, 60.92, -28.04)
CIE-LCHlch(54.50, 67.06, 335.28°)
OKLaboklab(63.31% 0.1785 -0.076)
OKLCHoklch(63.31% 0.194 336.9)
XYZxyz(36.9132, 22.4486, 45.5600)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51B4 #51CF6C
analogous
#AB51CF #CF51B4 #CF5175
triadic
#CF51B4 #B4CF51 #51B4CF
tetradic
#CF51B4 #CFAB51 #51CF6C #5175CF
square
#CF51B4 #CFAB51 #51CF6C #5175CF
split-complementary
#CF51B4 #75CF51 #51CFAB
monochromatic
#82246E #B23196 #CF51B4 #DC81C9 #E9B1DD

Accessibility & contrast

On white

3.83
#CF51B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CF51B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51B4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51B4#FFFFFF#000000##000000
##CF51B41.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#D9577B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf51b4;
/* rgb */ color: rgb(207, 81, 180);
/* oklch */ color: oklch(63.3% 0.194 336.9);
Tailwind
colors: {
  custom: {
    50: '#e189ca',
    500: '#cf51b4',
    950: '#000000',
  },
}
SCSS
$custom: #cf51b4;
$custom-light: #e189ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51b4",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 312.857,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.19399,
    "h": 336.9
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#CF51B4
secondary
#A4D8AF
accent
#E06848
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF51B4

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

Preview Lab → · Contrast checker → · Palette generator →

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