#CF5FA8#CF5FA8

#CF5FA8 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.5% C 0.164 H 342.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CF5FA8
RGBrgb(207, 95, 168)
HSLhsl(321, 54%, 59%)
HSVhsv(321, 54%, 81%)
CMYKcmyk(0%, 54.1%, 18.8%, 18.8%)
CIE-LABlab(56.37, 52.80, -18.21)
CIE-LCHlch(56.37, 55.85, 340.97°)
OKLaboklab(64.53% 0.1571 -0.0485)
OKLCHoklch(64.53% 0.164 342.9)
XYZxyz(36.8930, 24.2800, 39.7816)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FA8 #5FCF86
analogous
#BE5FCF #CF5FA8 #CF5F70
triadic
#CF5FA8 #A8CF5F #5FA8CF
tetradic
#CF5FA8 #CFBE5F #5FCF86 #5F70CF
square
#CF5FA8 #CFBE5F #5FCF86 #5F70CF
split-complementary
#CF5FA8 #70CF5F #5FCFBE
monochromatic
#8A2968 #B9388C #CF5FA8 #DD8EC2 #EBBDDB

Accessibility & contrast

On white

3.59
#CF5FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CF5FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FA8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FA8#FFFFFF#000000##000000
##CF5FA81.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#868EA5
Tritanopia (blue-blind)
#DA5F7C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5fa8;
/* rgb */ color: rgb(207, 95, 168);
/* oklch */ color: oklch(64.5% 0.164 342.9);
Tailwind
colors: {
  custom: {
    50: '#e091c2',
    500: '#cf5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fa8;
$custom-light: #e091c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fa8",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 320.893,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.16445,
    "h": 342.9
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#CF5FA8
secondary
#AFDBBE
accent
#DD7E4B
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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