#CF5790#CF5790

#CF5790 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.6% C 0.163 H 353.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CF5790
RGBrgb(207, 87, 144)
HSLhsl(332, 56%, 58%)
HSVhsv(332, 58%, 81%)
CMYKcmyk(0%, 58%, 30.4%, 18.8%)
CIE-LABlab(54.13, 53.26, -7.53)
CIE-LCHlch(54.13, 53.79, 351.95°)
OKLaboklab(62.59% 0.1618 -0.0193)
OKLCHoklch(62.59% 0.163 353.2)
XYZxyz(34.1759, 22.0988, 28.8458)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5790 #57CF96
analogous
#CF57CC #CF5790 #CF5A57
triadic
#CF5790 #90CF57 #5790CF
tetradic
#CF5790 #CCCF57 #57CF96 #5A57CF
square
#CF5790 #CCCF57 #57CF96 #5A57CF
split-complementary
#CF5790 #57CF5A #57CCCF
monochromatic
#852653 #B53471 #CF5790 #DD87AF #EAB6CF

Accessibility & contrast

On white

3.88
#CF5790 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CF5790 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5790
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5790#FFFFFF#000000##000000
##CF57901.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#687492
Deuteranopia (green-blind)
#88898D
Tritanopia (blue-blind)
#DD506D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf5790;
/* rgb */ color: rgb(207, 87, 144);
/* oklch */ color: oklch(62.6% 0.163 353.2);
Tailwind
colors: {
  custom: {
    50: '#e18cb0',
    500: '#cf5790',
    950: '#000000',
  },
}
SCSS
$custom: #cf5790;
$custom-light: #e18cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5790",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 331.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62591,
    "c": 0.16297,
    "h": 353.2
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

primary
#CF5790
secondary
#A9D9C2
accent
#DF9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5790

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

Preview Lab → · Contrast checker → · Palette generator →

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