#CF5FA6#CF5FA6

#CF5FA6 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.4% C 0.163 H 343.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CF5FA6
RGBrgb(207, 95, 166)
HSLhsl(322, 54%, 59%)
HSVhsv(322, 54%, 81%)
CMYKcmyk(0%, 54.1%, 19.8%, 18.8%)
CIE-LABlab(56.29, 52.51, -17.16)
CIE-LCHlch(56.29, 55.24, 341.90°)
OKLaboklab(64.45% 0.1566 -0.0456)
OKLCHoklch(64.45% 0.163 343.8)
XYZxyz(36.7081, 24.2060, 38.8079)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FA6 #5FCF88
analogous
#C05FCF #CF5FA6 #CF5F6E
triadic
#CF5FA6 #A6CF5F #5FA6CF
tetradic
#CF5FA6 #CFC05F #5FCF88 #5F6ECF
square
#CF5FA6 #CFC05F #5FCF88 #5F6ECF
split-complementary
#CF5FA6 #6ECF5F #5FCFC0
monochromatic
#8A2967 #B9388A #CF5FA6 #DD8EC0 #EBBDDA

Accessibility & contrast

On white

3.60
#CF5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CF5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FA6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FA6#FFFFFF#000000##000000
##CF5FA61.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA8
Deuteranopia (green-blind)
#878EA3
Tritanopia (blue-blind)
#DB5F7B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5fa6;
/* rgb */ color: rgb(207, 95, 166);
/* oklch */ color: oklch(64.4% 0.163 343.8);
Tailwind
colors: {
  custom: {
    50: '#e091c0',
    500: '#cf5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fa6;
$custom-light: #e091c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fa6",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 321.964,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64448,
    "c": 0.16313,
    "h": 343.8
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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