#CF5BA7#CF5BA7

#CF5BA7 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.0% C 0.170 H 342.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CF5BA7
RGBrgb(207, 91, 167)
HSLhsl(321, 55%, 58%)
HSVhsv(321, 56%, 81%)
CMYKcmyk(0%, 56%, 19.3%, 18.8%)
CIE-LABlab(55.63, 54.53, -18.76)
CIE-LCHlch(55.63, 57.67, 341.02°)
OKLaboklab(63.96% 0.1625 -0.05)
OKLCHoklch(63.96% 0.17 342.9)
XYZxyz(36.4491, 23.5407, 39.1759)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BA7 #5BCF83
analogous
#BD5BCF #CF5BA7 #CF5B6D
triadic
#CF5BA7 #A7CF5B #5BA7CF
tetradic
#CF5BA7 #CFBD5B #5BCF83 #5B6DCF
square
#CF5BA7 #CFBD5B #5BCF83 #5B6DCF
split-complementary
#CF5BA7 #6DCF5B #5BCFBD
monochromatic
#882867 #B7368B #CF5BA7 #DD8AC0 #EBBADA

Accessibility & contrast

On white

3.68
#CF5BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CF5BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BA7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BA7#FFFFFF#000000##000000
##CF5BA71.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6379A9
Deuteranopia (green-blind)
#848CA4
Tritanopia (blue-blind)
#DB5B79
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf5ba7;
/* rgb */ color: rgb(207, 91, 167);
/* oklch */ color: oklch(64.0% 0.170 342.9);
Tailwind
colors: {
  custom: {
    50: '#e08ec1',
    500: '#cf5ba7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ba7;
$custom-light: #e08ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ba7",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 320.69,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.17004,
    "h": 342.9
  },
  "luminance": 0.23538
}

Semantic roles & 50–950 ramp

primary
#CF5BA7
secondary
#ACDABC
accent
#DE7D4A
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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