#CF5795#CF5795

#CF5795 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.8% C 0.165 H 350.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CF5795
RGBrgb(207, 87, 149)
HSLhsl(329, 56%, 58%)
HSVhsv(329, 58%, 81%)
CMYKcmyk(0%, 58%, 28%, 18.8%)
CIE-LABlab(54.30, 53.89, -10.23)
CIE-LCHlch(54.30, 54.86, 349.25°)
OKLaboklab(62.77% 0.1633 -0.0265)
OKLCHoklch(62.77% 0.165 350.8)
XYZxyz(34.5666, 22.2551, 30.9031)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5795 #57CF91
analogous
#CD57CF #CF5795 #CF5759
triadic
#CF5795 #95CF57 #5795CF
tetradic
#CF5795 #CFCD57 #57CF91 #5759CF
square
#CF5795 #CFCD57 #57CF91 #5759CF
split-complementary
#CF5795 #59CF57 #57CFCD
monochromatic
#852657 #B53477 #CF5795 #DD87B3 #EAB6D1

Accessibility & contrast

On white

3.85
#CF5795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CF5795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5795
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5795#FFFFFF#000000##000000
##CF57951.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667497
Deuteranopia (green-blind)
#878A92
Tritanopia (blue-blind)
#DD526F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5795;
/* rgb */ color: rgb(207, 87, 149);
/* oklch */ color: oklch(62.8% 0.165 350.8);
Tailwind
colors: {
  custom: {
    50: '#e18cb4',
    500: '#cf5795',
    950: '#000000',
  },
}
SCSS
$custom: #cf5795;
$custom-light: #e18cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5795",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 329,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62768,
    "c": 0.16546,
    "h": 350.8
  },
  "luminance": 0.22252
}

Semantic roles & 50–950 ramp

primary
#CF5795
secondary
#A9D9C0
accent
#DF9149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF5795

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

Preview Lab → · Contrast checker → · Palette generator →

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