#CF4FA7#CF4FA7

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

Color values

HEX#CF4FA7
RGBrgb(207, 79, 167)
HSLhsl(319, 57%, 56%)
HSVhsv(319, 62%, 81%)
CMYKcmyk(0%, 61.8%, 19.3%, 18.8%)
CIE-LABlab(53.65, 59.86, -21.77)
CIE-LCHlch(53.65, 63.70, 340.01°)
OKLaboklab(62.51% 0.1786 -0.0583)
OKLCHoklch(62.51% 0.188 341.9)
XYZxyz(35.5041, 21.6506, 38.8608)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FA7 #4FCF77
analogous
#B74FCF #CF4FA7 #CF4F67
triadic
#CF4FA7 #A7CF4F #4FA7CF
tetradic
#CF4FA7 #CFB74F #4FCF77 #4F67CF
square
#CF4FA7 #CFB74F #4FCF77 #4F67CF
split-complementary
#CF4FA7 #67CF4F #4FCFB7
monochromatic
#812363 #B13088 #CF4FA7 #DC7FBF #E9AFD7

Accessibility & contrast

On white

3.94
#CF4FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CF4FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FA7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FA7#FFFFFF#000000##000000
##CF4FA71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7E88A4
Tritanopia (blue-blind)
#DB5074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4fa7;
/* rgb */ color: rgb(207, 79, 167);
/* oklch */ color: oklch(62.5% 0.188 341.9);
Tailwind
colors: {
  custom: {
    50: '#e188c1',
    500: '#cf4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fa7;
$custom-light: #e188c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fa7",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 318.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.18785,
    "h": 341.9
  },
  "luminance": 0.21647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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