#CF5AB9#CF5AB9

#CF5AB9 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.6% C 0.184 H 335.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CF5AB9
RGBrgb(207, 90, 185)
HSLhsl(311, 55%, 58%)
HSVhsv(311, 57%, 81%)
CMYKcmyk(0%, 56.5%, 10.6%, 18.8%)
CIE-LABlab(56.17, 57.73, -28.34)
CIE-LCHlch(56.17, 64.31, 333.85°)
OKLaboklab(64.6% 0.1677 -0.0769)
OKLCHoklch(64.6% 0.184 335.4)
XYZxyz(38.1455, 24.0834, 48.5290)
Luminance0.2408 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AB9 #5ACF70
analogous
#AA5ACF #CF5AB9 #CF5A7E
triadic
#CF5AB9 #B9CF5A #5AB9CF
tetradic
#CF5AB9 #CFAA5A #5ACF70 #5A7ECF
square
#CF5AB9 #CFAA5A #5ACF70 #5A7ECF
split-complementary
#CF5AB9 #7ECF5A #5ACFAA
monochromatic
#872775 #B7359E #CF5AB9 #DD89CD #EBB9E1

Accessibility & contrast

On white

3.61
#CF5AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CF5AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AB9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AB9#FFFFFF#000000##000000
##CF5AB91.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBC
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#D86081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5ab9;
/* rgb */ color: rgb(207, 90, 185);
/* oklch */ color: oklch(64.6% 0.184 335.4);
Tailwind
colors: {
  custom: {
    50: '#e08ece',
    500: '#cf5ab9',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ab9;
$custom-light: #e08ece;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ab9",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 311.282,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64603,
    "c": 0.18448,
    "h": 335.4
  },
  "luminance": 0.24081
}

Semantic roles & 50–950 ramp

primary
#CF5AB9
secondary
#ABDAB4
accent
#DE654A
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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