#CF5582#CF5582

#CF5582 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.9% C 0.160 H 359.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CF5582
RGBrgb(207, 85, 130)
HSLhsl(338, 56%, 57%)
HSVhsv(338, 59%, 81%)
CMYKcmyk(0%, 58.9%, 37.2%, 18.8%)
CIE-LABlab(53.36, 52.50, -0.39)
CIE-LCHlch(53.36, 52.50, 359.58°)
OKLaboklab(61.88% 0.1601 -0.0004)
OKLCHoklch(61.88% 0.16 359.9)
XYZxyz(33.0118, 21.3777, 23.5026)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5582 #55CFA2
analogous
#CF55BF #CF5582 #CF6555
triadic
#CF5582 #82CF55 #5582CF
tetradic
#CF5582 #BFCF55 #55CFA2 #6555CF
square
#CF5582 #BFCF55 #55CFA2 #6555CF
split-complementary
#CF5582 #55CF65 #55BFCF
monochromatic
#842548 #B43362 #CF5582 #DC85A5 #EAB4C8

Accessibility & contrast

On white

3.98
#CF5582 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CF5582 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5582
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5582#FFFFFF#000000##000000
##CF55821.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7183
Deuteranopia (green-blind)
#8B887F
Tritanopia (blue-blind)
#DF4A66
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5582;
/* rgb */ color: rgb(207, 85, 130);
/* oklch */ color: oklch(61.9% 0.160 359.9);
Tailwind
colors: {
  custom: {
    50: '#e28aa6',
    500: '#cf5582',
    950: '#000000',
  },
}
SCSS
$custom: #cf5582;
$custom-light: #e28aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5582",
  "rgb": {
    "r": 207,
    "g": 85,
    "b": 130
  },
  "hsl": {
    "h": 337.869,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.16013,
    "h": 359.9
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#CF5582
secondary
#A7D9C6
accent
#DFA849
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5582

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

Preview Lab → · Contrast checker → · Palette generator →

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