#CF4FA6#CF4FA6

#CF4FA6 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.187 H 342.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CF4FA6
RGBrgb(207, 79, 166)
HSLhsl(319, 57%, 56%)
HSVhsv(319, 62%, 81%)
CMYKcmyk(0%, 61.8%, 19.8%, 18.8%)
CIE-LABlab(53.61, 59.72, -21.25)
CIE-LCHlch(53.61, 63.39, 340.41°)
OKLaboklab(62.47% 0.1784 -0.0568)
OKLCHoklch(62.47% 0.187 342.3)
XYZxyz(35.4120, 21.6138, 38.3759)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FA6 #4FCF78
analogous
#B84FCF #CF4FA6 #CF4F66
triadic
#CF4FA6 #A6CF4F #4FA6CF
tetradic
#CF4FA6 #CFB84F #4FCF78 #4F66CF
square
#CF4FA6 #CFB84F #4FCF78 #4F66CF
split-complementary
#CF4FA6 #66CF4F #4FCFB8
monochromatic
#812363 #B13087 #CF4FA6 #DC7FBE #E9AFD7

Accessibility & contrast

On white

3.95
#CF4FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CF4FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FA6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FA6#FFFFFF#000000##000000
##CF4FA61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5973A9
Deuteranopia (green-blind)
#7E88A3
Tritanopia (blue-blind)
#DB5073
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4fa6;
/* rgb */ color: rgb(207, 79, 166);
/* oklch */ color: oklch(62.5% 0.187 342.3);
Tailwind
colors: {
  custom: {
    50: '#e188c0',
    500: '#cf4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fa6;
$custom-light: #e188c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fa6",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 319.219,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.1872,
    "h": 342.3
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#CF4FA6
secondary
#A2D7B3
accent
#E07847
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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