#CF5782#CF5782

#CF5782 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.1% C 0.157 H 0.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CF5782
RGBrgb(207, 87, 130)
HSLhsl(339, 56%, 58%)
HSVhsv(339, 58%, 81%)
CMYKcmyk(0%, 58%, 37.2%, 18.8%)
CIE-LABlab(53.70, 51.58, 0.12)
CIE-LCHlch(53.70, 51.58, 0.13°)
OKLaboklab(62.13% 0.1573 0.0009)
OKLCHoklch(62.13% 0.157 0.3)
XYZxyz(33.1715, 21.6970, 23.5558)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5782 #57CFA4
analogous
#CF57BE #CF5782 #CF6857
triadic
#CF5782 #82CF57 #5782CF
tetradic
#CF5782 #BECF57 #57CFA4 #6857CF
square
#CF5782 #BECF57 #57CFA4 #6857CF
split-complementary
#CF5782 #57CF68 #57BECF
monochromatic
#852648 #B53462 #CF5782 #DD87A5 #EAB6C9

Accessibility & contrast

On white

3.93
#CF5782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CF5782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5782
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5782#FFFFFF#000000##000000
##CF57821.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7283
Deuteranopia (green-blind)
#8C897F
Tritanopia (blue-blind)
#DF4C67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf5782;
/* rgb */ color: rgb(207, 87, 130);
/* oklch */ color: oklch(62.1% 0.157 0.3);
Tailwind
colors: {
  custom: {
    50: '#e28ba6',
    500: '#cf5782',
    950: '#000000',
  },
}
SCSS
$custom: #cf5782;
$custom-light: #e28ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5782",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 338.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62132,
    "c": 0.15727,
    "h": 0.3
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#CF5782
secondary
#A9D9C8
accent
#DFA949
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5782

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

Preview Lab → · Contrast checker → · Palette generator →

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