#CF57A2#CF57A2

#CF57A2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.173 H 344.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CF57A2
RGBrgb(207, 87, 162)
HSLhsl(323, 56%, 58%)
HSVhsv(323, 58%, 81%)
CMYKcmyk(0%, 58%, 21.7%, 18.8%)
CIE-LABlab(54.76, 55.65, -17.17)
CIE-LCHlch(54.76, 58.24, 342.86°)
OKLaboklab(63.26% 0.1668 -0.0455)
OKLCHoklch(63.26% 0.173 344.7)
XYZxyz(35.6629, 22.6936, 36.6775)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57A2 #57CF84
analogous
#C057CF #CF57A2 #CF5766
triadic
#CF57A2 #A2CF57 #57A2CF
tetradic
#CF57A2 #CFC057 #57CF84 #5766CF
square
#CF57A2 #CFC057 #57CF84 #5766CF
split-complementary
#CF57A2 #66CF57 #57CFC0
monochromatic
#852662 #B53485 #CF57A2 #DD87BC #EAB6D7

Accessibility & contrast

On white

3.79
#CF57A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CF57A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57A2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57A2#FFFFFF#000000##000000
##CF57A21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A4
Deuteranopia (green-blind)
#848A9F
Tritanopia (blue-blind)
#DB5675
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf57a2;
/* rgb */ color: rgb(207, 87, 162);
/* oklch */ color: oklch(63.3% 0.173 344.7);
Tailwind
colors: {
  custom: {
    50: '#e18cbd',
    500: '#cf57a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf57a2;
$custom-light: #e18cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57a2",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 322.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.17293,
    "h": 344.7
  },
  "luminance": 0.2269
}

Semantic roles & 50–950 ramp

primary
#CF57A2
secondary
#A9D9BB
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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