#CF4FAF#CF4FAF

#CF4FAF is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.9% C 0.193 H 338.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CF4FAF
RGBrgb(207, 79, 175)
HSLhsl(315, 57%, 56%)
HSVhsv(315, 62%, 81%)
CMYKcmyk(0%, 61.8%, 15.5%, 18.8%)
CIE-LABlab(53.98, 61.02, -25.94)
CIE-LCHlch(53.98, 66.30, 336.97°)
OKLaboklab(62.86% 0.1802 -0.07)
OKLCHoklch(62.86% 0.193 338.8)
XYZxyz(36.2666, 21.9556, 42.8769)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FAF #4FCF6F
analogous
#AF4FCF #CF4FAF #CF4F6F
triadic
#CF4FAF #AFCF4F #4FAFCF
tetradic
#CF4FAF #CFAF4F #4FCF6F #4F6FCF
square
#CF4FAF #CFAF4F #4FCF6F #4F6FCF
split-complementary
#CF4FAF #6FCF4F #4FCFAF
monochromatic
#812369 #B13091 #CF4FAF #DC7FC5 #E9AFDB

Accessibility & contrast

On white

3.90
#CF4FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CF4FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FAF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FAF#FFFFFF#000000##000000
##CF4FAF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#DA5378
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf4faf;
/* rgb */ color: rgb(207, 79, 175);
/* oklch */ color: oklch(62.9% 0.193 338.8);
Tailwind
colors: {
  custom: {
    50: '#e188c7',
    500: '#cf4faf',
    950: '#000000',
  },
}
SCSS
$custom: #cf4faf;
$custom-light: #e188c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4faf",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 315,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.19327,
    "h": 338.8
  },
  "luminance": 0.21953
}

Semantic roles & 50–950 ramp

primary
#CF4FAF
secondary
#A2D7B0
accent
#E06E47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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