#CF4FAC#CF4FAC

#CF4FAC is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.191 H 339.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CF4FAC
RGBrgb(207, 79, 172)
HSLhsl(316, 57%, 56%)
HSVhsv(316, 62%, 81%)
CMYKcmyk(0%, 61.8%, 16.9%, 18.8%)
CIE-LABlab(53.86, 60.58, -24.38)
CIE-LCHlch(53.86, 65.30, 338.07°)
OKLaboklab(62.72% 0.1796 -0.0656)
OKLCHoklch(62.72% 0.191 339.9)
XYZxyz(35.9753, 21.8391, 41.3424)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FAC #4FCF72
analogous
#B24FCF #CF4FAC #CF4F6C
triadic
#CF4FAC #ACCF4F #4FACCF
tetradic
#CF4FAC #CFB24F #4FCF72 #4F6CCF
square
#CF4FAC #CFB24F #4FCF72 #4F6CCF
split-complementary
#CF4FAC #6CCF4F #4FCFB2
monochromatic
#812367 #B1308E #CF4FAC #DC7FC3 #E9AFD9

Accessibility & contrast

On white

3.91
#CF4FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CF4FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FAC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FAC#FFFFFF#000000##000000
##CF4FAC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#7C88A9
Tritanopia (blue-blind)
#DA5276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf4fac;
/* rgb */ color: rgb(207, 79, 172);
/* oklch */ color: oklch(62.7% 0.191 339.9);
Tailwind
colors: {
  custom: {
    50: '#e188c5',
    500: '#cf4fac',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fac;
$custom-light: #e188c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fac",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 316.406,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.1912,
    "h": 339.9
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#CF4FAC
secondary
#A2D7B1
accent
#E07147
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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