#CF54AC#CF54AC

#CF54AC is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.3% C 0.184 H 340.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CF54AC
RGBrgb(207, 84, 172)
HSLhsl(317, 56%, 57%)
HSVhsv(317, 59%, 81%)
CMYKcmyk(0%, 59.4%, 16.9%, 18.8%)
CIE-LABlab(54.65, 58.43, -23.17)
CIE-LCHlch(54.65, 62.85, 338.37°)
OKLaboklab(63.3% 0.1731 -0.0622)
OKLCHoklch(63.3% 0.184 340.2)
XYZxyz(36.3496, 22.5877, 41.4672)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54AC #54CF77
analogous
#B454CF #CF54AC #CF546F
triadic
#CF54AC #ACCF54 #54ACCF
tetradic
#CF54AC #CFB454 #54CF77 #546FCF
square
#CF54AC #CFB454 #54CF77 #546FCF
split-complementary
#CF54AC #6FCF54 #54CFB4
monochromatic
#842569 #B3328F #CF54AC #DC84C3 #EAB4DA

Accessibility & contrast

On white

3.81
#CF54AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CF54AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54AC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54AC#FFFFFF#000000##000000
##CF54AC1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AF
Deuteranopia (green-blind)
#7F8AA9
Tritanopia (blue-blind)
#DA5779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf54ac;
/* rgb */ color: rgb(207, 84, 172);
/* oklch */ color: oklch(63.3% 0.184 340.2);
Tailwind
colors: {
  custom: {
    50: '#e18bc5',
    500: '#cf54ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf54ac;
$custom-light: #e18bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54ac",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 317.073,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63304,
    "c": 0.18399,
    "h": 340.2
  },
  "luminance": 0.22585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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