#CF5791#CF5791

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

Color values

HEX#CF5791
RGBrgb(207, 87, 145)
HSLhsl(331, 56%, 58%)
HSVhsv(331, 58%, 81%)
CMYKcmyk(0%, 58%, 30%, 18.8%)
CIE-LABlab(54.16, 53.38, -8.08)
CIE-LCHlch(54.16, 53.99, 351.40°)
OKLaboklab(62.63% 0.1621 -0.0207)
OKLCHoklch(62.63% 0.163 352.7)
XYZxyz(34.2527, 22.1295, 29.2501)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5791 #57CF95
analogous
#CF57CD #CF5791 #CF5957
triadic
#CF5791 #91CF57 #5791CF
tetradic
#CF5791 #CDCF57 #57CF95 #5957CF
square
#CF5791 #CDCF57 #57CF95 #5957CF
split-complementary
#CF5791 #57CF59 #57CDCF
monochromatic
#852654 #B53472 #CF5791 #DD87B0 #EAB6CF

Accessibility & contrast

On white

3.87
#CF5791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CF5791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5791
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5791#FFFFFF#000000##000000
##CF57911.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687493
Deuteranopia (green-blind)
#888A8E
Tritanopia (blue-blind)
#DD516E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf5791;
/* rgb */ color: rgb(207, 87, 145);
/* oklch */ color: oklch(62.6% 0.163 352.7);
Tailwind
colors: {
  custom: {
    50: '#e18cb1',
    500: '#cf5791',
    950: '#000000',
  },
}
SCSS
$custom: #cf5791;
$custom-light: #e18cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5791",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 331,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.16345,
    "h": 352.7
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#CF5791
secondary
#A9D9C2
accent
#DF9649
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5791

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

Preview Lab → · Contrast checker → · Palette generator →

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