#CF54A2#CF54A2

#CF54A2 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.177 H 344.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CF54A2
RGBrgb(207, 84, 162)
HSLhsl(322, 56%, 57%)
HSVhsv(322, 59%, 81%)
CMYKcmyk(0%, 59.4%, 21.7%, 18.8%)
CIE-LABlab(54.26, 56.99, -17.92)
CIE-LCHlch(54.26, 59.75, 342.54°)
OKLaboklab(62.89% 0.1709 -0.0476)
OKLCHoklch(62.89% 0.177 344.4)
XYZxyz(35.4251, 22.2179, 36.5982)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54A2 #54CF81
analogous
#BE54CF #CF54A2 #CF5465
triadic
#CF54A2 #A2CF54 #54A2CF
tetradic
#CF54A2 #CFBE54 #54CF81 #5465CF
square
#CF54A2 #CFBE54 #54CF81 #5465CF
split-complementary
#CF54A2 #65CF54 #54CFBE
monochromatic
#842561 #B33284 #CF54A2 #DC84BC #EAB4D6

Accessibility & contrast

On white

3.86
#CF54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CF54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54A2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54A2#FFFFFF#000000##000000
##CF54A21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A4
Deuteranopia (green-blind)
#82899F
Tritanopia (blue-blind)
#DB5374
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf54a2;
/* rgb */ color: rgb(207, 84, 162);
/* oklch */ color: oklch(62.9% 0.177 344.4);
Tailwind
colors: {
  custom: {
    50: '#e18abd',
    500: '#cf54a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf54a2;
$custom-light: #e18abd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54a2",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 321.951,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.17741,
    "h": 344.4
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#CF54A2
secondary
#A6D8B9
accent
#DF8048
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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