#CF57B2#CF57B2

#CF57B2 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.9% C 0.184 H 338.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CF57B2
RGBrgb(207, 87, 178)
HSLhsl(315, 56%, 58%)
HSVhsv(315, 58%, 81%)
CMYKcmyk(0%, 58%, 14%, 18.8%)
CIE-LABlab(55.38, 57.99, -25.52)
CIE-LCHlch(55.38, 63.36, 336.25°)
OKLaboklab(63.92% 0.1704 -0.0689)
OKLCHoklch(63.92% 0.184 338)
XYZxyz(37.1767, 23.2991, 44.6500)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57B2 #57CF74
analogous
#B057CF #CF57B2 #CF5776
triadic
#CF57B2 #B2CF57 #57B2CF
tetradic
#CF57B2 #CFB057 #57CF74 #5776CF
square
#CF57B2 #CFB057 #57CF74 #5776CF
split-complementary
#CF57B2 #76CF57 #57CFB0
monochromatic
#85266E #B53496 #CF57B2 #DD87C8 #EAB6DE

Accessibility & contrast

On white

3.71
#CF57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CF57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57B2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57B2#FFFFFF#000000##000000
##CF57B21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#D95B7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf57b2;
/* rgb */ color: rgb(207, 87, 178);
/* oklch */ color: oklch(63.9% 0.184 338.0);
Tailwind
colors: {
  custom: {
    50: '#e18cc9',
    500: '#cf57b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf57b2;
$custom-light: #e18cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57b2",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 314.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63924,
    "c": 0.18378,
    "h": 338
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#CF57B2
secondary
#A9D9B4
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160D13
muted
#847D82

Preview Lab

Preview with #CF57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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