#CF54AA#CF54AA

#CF54AA is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.2% C 0.183 H 341.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CF54AA
RGBrgb(207, 84, 170)
HSLhsl(318, 56%, 57%)
HSVhsv(318, 59%, 81%)
CMYKcmyk(0%, 59.4%, 17.9%, 18.8%)
CIE-LABlab(54.57, 58.13, -22.13)
CIE-LCHlch(54.57, 62.20, 339.16°)
OKLaboklab(63.22% 0.1727 -0.0593)
OKLCHoklch(63.22% 0.183 341)
XYZxyz(36.1589, 22.5114, 40.4632)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54AA #54CF79
analogous
#B754CF #CF54AA #CF546D
triadic
#CF54AA #AACF54 #54AACF
tetradic
#CF54AA #CFB754 #54CF79 #546DCF
square
#CF54AA #CFB754 #54CF79 #546DCF
split-complementary
#CF54AA #6DCF54 #54CFB7
monochromatic
#842567 #B3328D #CF54AA #DC84C2 #EAB4DA

Accessibility & contrast

On white

3.82
#CF54AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CF54AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54AA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54AA#FFFFFF#000000##000000
##CF54AA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AD
Deuteranopia (green-blind)
#7F8AA7
Tritanopia (blue-blind)
#DA5678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf54aa;
/* rgb */ color: rgb(207, 84, 170);
/* oklch */ color: oklch(63.2% 0.183 341.0);
Tailwind
colors: {
  custom: {
    50: '#e18bc3',
    500: '#cf54aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf54aa;
$custom-light: #e18bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54aa",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 318.049,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.18262,
    "h": 341
  },
  "luminance": 0.22508
}

Semantic roles & 50–950 ramp

primary
#CF54AA
secondary
#A6D8B5
accent
#DF7648
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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