#CF54AF#CF54AF

#CF54AF is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.4% C 0.186 H 339.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CF54AF
RGBrgb(207, 84, 175)
HSLhsl(316, 56%, 57%)
HSVhsv(316, 59%, 81%)
CMYKcmyk(0%, 59.4%, 15.5%, 18.8%)
CIE-LABlab(54.77, 58.87, -24.73)
CIE-LCHlch(54.77, 63.85, 337.22°)
OKLaboklab(63.43% 0.1737 -0.0666)
OKLCHoklch(63.43% 0.186 339)
XYZxyz(36.6409, 22.7042, 43.0017)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54AF #54CF74
analogous
#B254CF #CF54AF #CF5472
triadic
#CF54AF #AFCF54 #54AFCF
tetradic
#CF54AF #CFB254 #54CF74 #5472CF
square
#CF54AF #CFB254 #54CF74 #5472CF
split-complementary
#CF54AF #72CF54 #54CFB2
monochromatic
#84256B #B33292 #CF54AF #DC84C5 #EAB4DC

Accessibility & contrast

On white

3.79
#CF54AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CF54AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54AF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54AF#FFFFFF#000000##000000
##CF54AF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5977B2
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#DA587A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf54af;
/* rgb */ color: rgb(207, 84, 175);
/* oklch */ color: oklch(63.4% 0.186 339.0);
Tailwind
colors: {
  custom: {
    50: '#e18bc7',
    500: '#cf54af',
    950: '#000000',
  },
}
SCSS
$custom: #cf54af;
$custom-light: #e18bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54af",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 315.61,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63433,
    "c": 0.18607,
    "h": 339
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#CF54AF
secondary
#A6D8B3
accent
#DF7048
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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