#CF5AB7#CF5AB7

#CF5AB7 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.5% C 0.183 H 336.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CF5AB7
RGBrgb(207, 90, 183)
HSLhsl(312, 55%, 58%)
HSVhsv(312, 57%, 81%)
CMYKcmyk(0%, 56.5%, 11.6%, 18.8%)
CIE-LABlab(56.09, 57.41, -27.32)
CIE-LCHlch(56.09, 63.58, 334.56°)
OKLaboklab(64.51% 0.1673 -0.074)
OKLCHoklch(64.51% 0.183 336.1)
XYZxyz(37.9358, 23.9995, 47.4249)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AB7 #5ACF72
analogous
#AD5ACF #CF5AB7 #CF5A7C
triadic
#CF5AB7 #B7CF5A #5AB7CF
tetradic
#CF5AB7 #CFAD5A #5ACF72 #5A7CCF
square
#CF5AB7 #CFAD5A #5ACF72 #5A7CCF
split-complementary
#CF5AB7 #7CCF5A #5ACFAD
monochromatic
#872774 #B7359C #CF5AB7 #DD89CC #EBB9E0

Accessibility & contrast

On white

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

On black

5.80
#CF5AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AB7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AB7#FFFFFF#000000##000000
##CF5AB71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#D96080
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5ab7;
/* rgb */ color: rgb(207, 90, 183);
/* oklch */ color: oklch(64.5% 0.183 336.1);
Tailwind
colors: {
  custom: {
    50: '#e08ecd',
    500: '#cf5ab7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ab7;
$custom-light: #e08ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ab7",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 312.308,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.18296,
    "h": 336.1
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#CF5AB7
secondary
#ABDAB5
accent
#DE684A
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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