#CF57B3#CF57B3

#CF57B3 is a light, vivid pink. Relative luminance 0.233; OKLCH L 64.0% C 0.185 H 337.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CF57B3
RGBrgb(207, 87, 179)
HSLhsl(314, 56%, 58%)
HSVhsv(314, 58%, 81%)
CMYKcmyk(0%, 58%, 13.5%, 18.8%)
CIE-LABlab(55.42, 58.15, -26.04)
CIE-LCHlch(55.42, 63.71, 335.88°)
OKLaboklab(63.97% 0.1706 -0.0703)
OKLCHoklch(63.97% 0.185 337.6)
XYZxyz(37.2775, 23.3394, 45.1807)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57B3 #57CF73
analogous
#AF57CF #CF57B3 #CF5777
triadic
#CF57B3 #B3CF57 #57B3CF
tetradic
#CF57B3 #CFAF57 #57CF73 #5777CF
square
#CF57B3 #CFAF57 #57CF73 #5777CF
split-complementary
#CF57B3 #77CF57 #57CFAF
monochromatic
#85266F #B53497 #CF57B3 #DD87C9 #EAB6DE

Accessibility & contrast

On white

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

On black

5.67
#CF57B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57B3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57B3#FFFFFF#000000##000000
##CF57B31.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#7E8CB0
Tritanopia (blue-blind)
#D95C7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf57b3;
/* rgb */ color: rgb(207, 87, 179);
/* oklch */ color: oklch(64.0% 0.185 337.6);
Tailwind
colors: {
  custom: {
    50: '#e18cca',
    500: '#cf57b3',
    950: '#000000',
  },
}
SCSS
$custom: #cf57b3;
$custom-light: #e18cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57b3",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 314,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.18451,
    "h": 337.6
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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