#CF54AB#CF54AB

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

Color values

HEX#CF54AB
RGBrgb(207, 84, 171)
HSLhsl(318, 56%, 57%)
HSVhsv(318, 59%, 81%)
CMYKcmyk(0%, 59.4%, 17.4%, 18.8%)
CIE-LABlab(54.61, 58.28, -22.65)
CIE-LCHlch(54.61, 62.53, 338.76°)
OKLaboklab(63.26% 0.1729 -0.0608)
OKLCHoklch(63.26% 0.183 340.6)
XYZxyz(36.2539, 22.5494, 40.9633)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54AB #54CF78
analogous
#B654CF #CF54AB #CF546E
triadic
#CF54AB #ABCF54 #54ABCF
tetradic
#CF54AB #CFB654 #54CF78 #546ECF
square
#CF54AB #CFB654 #54CF78 #546ECF
split-complementary
#CF54AB #6ECF54 #54CFB6
monochromatic
#842568 #B3328E #CF54AB #DC84C2 #EAB4DA

Accessibility & contrast

On white

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

On black

5.51
#CF54AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54AB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54AB#FFFFFF#000000##000000
##CF54AB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AE
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#DA5678
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf54ab;
/* rgb */ color: rgb(207, 84, 171);
/* oklch */ color: oklch(63.3% 0.183 340.6);
Tailwind
colors: {
  custom: {
    50: '#e18bc4',
    500: '#cf54ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf54ab;
$custom-light: #e18bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54ab",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 317.561,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.1833,
    "h": 340.6
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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