#CF5FA7#CF5FA7

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

Color values

HEX#CF5FA7
RGBrgb(207, 95, 167)
HSLhsl(321, 54%, 59%)
HSVhsv(321, 54%, 81%)
CMYKcmyk(0%, 54.1%, 19.3%, 18.8%)
CIE-LABlab(56.33, 52.66, -17.68)
CIE-LCHlch(56.33, 55.55, 341.44°)
OKLaboklab(64.49% 0.1569 -0.047)
OKLCHoklch(64.49% 0.164 343.3)
XYZxyz(36.8002, 24.2429, 39.2929)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FA7 #5FCF87
analogous
#BF5FCF #CF5FA7 #CF5F6F
triadic
#CF5FA7 #A7CF5F #5FA7CF
tetradic
#CF5FA7 #CFBF5F #5FCF87 #5F6FCF
square
#CF5FA7 #CFBF5F #5FCF87 #5F6FCF
split-complementary
#CF5FA7 #6FCF5F #5FCFBF
monochromatic
#8A2968 #B9388B #CF5FA7 #DD8EC1 #EBBDDB

Accessibility & contrast

On white

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

On black

5.85
#CF5FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FA7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FA7#FFFFFF#000000##000000
##CF5FA71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#868EA4
Tritanopia (blue-blind)
#DB5F7B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5fa7;
/* rgb */ color: rgb(207, 95, 167);
/* oklch */ color: oklch(64.5% 0.164 343.3);
Tailwind
colors: {
  custom: {
    50: '#e091c1',
    500: '#cf5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fa7;
$custom-light: #e091c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fa7",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 321.429,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64487,
    "c": 0.16379,
    "h": 343.3
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#CF5FA7
secondary
#AFDBBF
accent
#DD7F4B
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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