#CF5AB8#CF5AB8

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

Color values

HEX#CF5AB8
RGBrgb(207, 90, 184)
HSLhsl(312, 55%, 58%)
HSVhsv(312, 57%, 81%)
CMYKcmyk(0%, 56.5%, 11.1%, 18.8%)
CIE-LABlab(56.13, 57.57, -27.83)
CIE-LCHlch(56.13, 63.94, 334.20°)
OKLaboklab(64.56% 0.1675 -0.0754)
OKLCHoklch(64.56% 0.184 335.8)
XYZxyz(38.0403, 24.0413, 47.9750)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AB8 #5ACF71
analogous
#AB5ACF #CF5AB8 #CF5A7D
triadic
#CF5AB8 #B8CF5A #5AB8CF
tetradic
#CF5AB8 #CFAB5A #5ACF71 #5A7DCF
square
#CF5AB8 #CFAB5A #5ACF71 #5A7DCF
split-complementary
#CF5AB8 #7DCF5A #5ACFAB
monochromatic
#872774 #B7359D #CF5AB8 #DD89CC #EBB9E1

Accessibility & contrast

On white

3.62
#CF5AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CF5AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AB8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AB8#FFFFFF#000000##000000
##CF5AB81.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5ab8;
/* rgb */ color: rgb(207, 90, 184);
/* oklch */ color: oklch(64.6% 0.184 335.8);
Tailwind
colors: {
  custom: {
    50: '#e08ecd',
    500: '#cf5ab8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ab8;
$custom-light: #e08ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ab8",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 311.795,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64558,
    "c": 0.18371,
    "h": 335.8
  },
  "luminance": 0.24038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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