#CF5792#CF5792

#CF5792 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.7% C 0.164 H 352.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CF5792
RGBrgb(207, 87, 146)
HSLhsl(331, 56%, 58%)
HSVhsv(331, 58%, 81%)
CMYKcmyk(0%, 58%, 29.5%, 18.8%)
CIE-LABlab(54.20, 53.51, -8.62)
CIE-LCHlch(54.20, 54.20, 350.85°)
OKLaboklab(62.66% 0.1624 -0.0222)
OKLCHoklch(62.66% 0.164 352.2)
XYZxyz(34.3301, 22.1605, 29.6580)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5792 #57CF94
analogous
#CF57CE #CF5792 #CF5857
triadic
#CF5792 #92CF57 #5792CF
tetradic
#CF5792 #CECF57 #57CF94 #5857CF
square
#CF5792 #CECF57 #57CF94 #5857CF
split-complementary
#CF5792 #57CF58 #57CECF
monochromatic
#852655 #B53473 #CF5792 #DD87B1 #EAB6D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5792#FFFFFF#000000##000000
##CF57921.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)
#677494
Deuteranopia (green-blind)
#888A8F
Tritanopia (blue-blind)
#DD516E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5792;
/* rgb */ color: rgb(207, 87, 146);
/* oklch */ color: oklch(62.7% 0.164 352.2);
Tailwind
colors: {
  custom: {
    50: '#e18cb2',
    500: '#cf5792',
    950: '#000000',
  },
}
SCSS
$custom: #cf5792;
$custom-light: #e18cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5792",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 330.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.16394,
    "h": 352.2
  },
  "luminance": 0.22157
}

Semantic roles & 50–950 ramp

primary
#CF5792
secondary
#A9D9C1
accent
#DF9549
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5792

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

Preview Lab → · Contrast checker → · Palette generator →

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