#CF5AA7#CF5AA7

#CF5AA7 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.8% C 0.172 H 342.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CF5AA7
RGBrgb(207, 90, 167)
HSLhsl(321, 55%, 58%)
HSVhsv(321, 57%, 81%)
CMYKcmyk(0%, 56.5%, 19.3%, 18.8%)
CIE-LABlab(55.45, 55.00, -19.02)
CIE-LCHlch(55.45, 58.19, 340.92°)
OKLaboklab(63.84% 0.1639 -0.0507)
OKLCHoklch(63.84% 0.172 342.8)
XYZxyz(36.3642, 23.3708, 39.1475)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AA7 #5ACF82
analogous
#BD5ACF #CF5AA7 #CF5A6C
triadic
#CF5AA7 #A7CF5A #5AA7CF
tetradic
#CF5AA7 #CFBD5A #5ACF82 #5A6CCF
square
#CF5AA7 #CFBD5A #5ACF82 #5A6CCF
split-complementary
#CF5AA7 #6CCF5A #5ACFBD
monochromatic
#872766 #B7358A #CF5AA7 #DD89C0 #EBB9DA

Accessibility & contrast

On white

3.70
#CF5AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CF5AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AA7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AA7#FFFFFF#000000##000000
##CF5AA71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5aa7;
/* rgb */ color: rgb(207, 90, 167);
/* oklch */ color: oklch(63.8% 0.172 342.8);
Tailwind
colors: {
  custom: {
    50: '#e18ec1',
    500: '#cf5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aa7;
$custom-light: #e18ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aa7",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 320.513,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63836,
    "c": 0.17158,
    "h": 342.8
  },
  "luminance": 0.23368
}

Semantic roles & 50–950 ramp

primary
#CF5AA7
secondary
#ABDABB
accent
#DE7C4A
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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