#CF5AAA#CF5AAA

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

Color values

HEX#CF5AAA
RGBrgb(207, 90, 170)
HSLhsl(319, 55%, 58%)
HSVhsv(319, 57%, 81%)
CMYKcmyk(0%, 56.5%, 17.9%, 18.8%)
CIE-LABlab(55.57, 55.43, -20.59)
CIE-LCHlch(55.57, 59.14, 339.62°)
OKLaboklab(63.96% 0.1646 -0.0551)
OKLCHoklch(63.96% 0.174 341.5)
XYZxyz(36.6448, 23.4831, 40.6251)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AAA #5ACF7F
analogous
#B95ACF #CF5AAA #CF5A6F
triadic
#CF5AAA #AACF5A #5AAACF
tetradic
#CF5AAA #CFB95A #5ACF7F #5A6FCF
square
#CF5AAA #CFB95A #5ACF7F #5A6FCF
split-complementary
#CF5AAA #6FCF5A #5ACFB9
monochromatic
#872769 #B7358E #CF5AAA #DD89C2 #EBB9DB

Accessibility & contrast

On white

3.69
#CF5AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CF5AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AAA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AAA#FFFFFF#000000##000000
##CF5AAA1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6179AD
Deuteranopia (green-blind)
#838CA7
Tritanopia (blue-blind)
#DA5B7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf5aaa;
/* rgb */ color: rgb(207, 90, 170);
/* oklch */ color: oklch(64.0% 0.174 341.5);
Tailwind
colors: {
  custom: {
    50: '#e08ec3',
    500: '#cf5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aaa;
$custom-light: #e08ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aaa",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 318.974,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63958,
    "c": 0.17359,
    "h": 341.5
  },
  "luminance": 0.2348
}

Semantic roles & 50–950 ramp

primary
#CF5AAA
secondary
#ABDABA
accent
#DE794A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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