#CF5AB2#CF5AB2

#CF5AB2 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.3% C 0.179 H 338.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CF5AB2
RGBrgb(207, 90, 178)
HSLhsl(315, 55%, 58%)
HSVhsv(315, 57%, 81%)
CMYKcmyk(0%, 56.5%, 14%, 18.8%)
CIE-LABlab(55.88, 56.64, -24.75)
CIE-LCHlch(55.88, 61.81, 336.40°)
OKLaboklab(64.3% 0.1664 -0.0667)
OKLCHoklch(64.3% 0.179 338.1)
XYZxyz(37.4247, 23.7950, 44.7327)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AB2 #5ACF77
analogous
#B25ACF #CF5AB2 #CF5A77
triadic
#CF5AB2 #B2CF5A #5AB2CF
tetradic
#CF5AB2 #CFB25A #5ACF77 #5A77CF
square
#CF5AB2 #CFB25A #5ACF77 #5A77CF
split-complementary
#CF5AB2 #77CF5A #5ACFB2
monochromatic
#87276F #B73597 #CF5AB2 #DD89C8 #EBB9DE

Accessibility & contrast

On white

3.65
#CF5AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CF5AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AB2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AB2#FFFFFF#000000##000000
##CF5AB21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB5
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#D95E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5ab2;
/* rgb */ color: rgb(207, 90, 178);
/* oklch */ color: oklch(64.3% 0.179 338.1);
Tailwind
colors: {
  custom: {
    50: '#e08ec9',
    500: '#cf5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ab2;
$custom-light: #e08ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ab2",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 314.872,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.17924,
    "h": 338.1
  },
  "luminance": 0.23792
}

Semantic roles & 50–950 ramp

primary
#CF5AB2
secondary
#ABDAB7
accent
#DE6E4A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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