#CF54B2#CF54B2

#CF54B2 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.6% C 0.188 H 337.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CF54B2
RGBrgb(207, 84, 178)
HSLhsl(314, 56%, 57%)
HSVhsv(314, 59%, 81%)
CMYKcmyk(0%, 59.4%, 14%, 18.8%)
CIE-LABlab(54.89, 59.32, -26.28)
CIE-LCHlch(54.89, 64.88, 336.11°)
OKLaboklab(63.56% 0.1743 -0.071)
OKLCHoklch(63.56% 0.188 337.8)
XYZxyz(36.9389, 22.8234, 44.5707)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54B2 #54CF71
analogous
#AE54CF #CF54B2 #CF5475
triadic
#CF54B2 #B2CF54 #54B2CF
tetradic
#CF54B2 #CFAE54 #54CF71 #5475CF
square
#CF54B2 #CFAE54 #54CF71 #5475CF
split-complementary
#CF54B2 #75CF54 #54CFAE
monochromatic
#84256D #B33295 #CF54B2 #DC84C8 #EAB4DD

Accessibility & contrast

On white

3.77
#CF54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CF54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54B2#FFFFFF#000000##000000
##CF54B21.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#7D8AAF
Tritanopia (blue-blind)
#D9597B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf54b2;
/* rgb */ color: rgb(207, 84, 178);
/* oklch */ color: oklch(63.6% 0.188 337.8);
Tailwind
colors: {
  custom: {
    50: '#e18bc9',
    500: '#cf54b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf54b2;
$custom-light: #e18bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54b2",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 314.146,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63564,
    "c": 0.18822,
    "h": 337.8
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#CF54B2
secondary
#A6D8B2
accent
#DF6C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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