#CF4FA1#CF4FA1

#CF4FA1 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.184 H 344.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CF4FA1
RGBrgb(207, 79, 161)
HSLhsl(322, 57%, 56%)
HSVhsv(322, 62%, 81%)
CMYKcmyk(0%, 61.8%, 22.2%, 18.8%)
CIE-LABlab(53.42, 59.02, -18.61)
CIE-LCHlch(53.42, 61.89, 342.50°)
OKLaboklab(62.26% 0.1773 -0.0495)
OKLCHoklch(62.26% 0.184 344.4)
XYZxyz(34.9622, 21.4339, 36.0071)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FA1 #4FCF7D
analogous
#BD4FCF #CF4FA1 #CF4F61
triadic
#CF4FA1 #A1CF4F #4FA1CF
tetradic
#CF4FA1 #CFBD4F #4FCF7D #4F61CF
square
#CF4FA1 #CFBD4F #4FCF7D #4F61CF
split-complementary
#CF4FA1 #61CF4F #4FCFBD
monochromatic
#81235F #B13082 #CF4FA1 #DC7FBB #E9AFD4

Accessibility & contrast

On white

3.97
#CF4FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CF4FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FA1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FA1#FFFFFF#000000##000000
##CF4FA11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A4
Deuteranopia (green-blind)
#80889E
Tritanopia (blue-blind)
#DC4E71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4fa1;
/* rgb */ color: rgb(207, 79, 161);
/* oklch */ color: oklch(62.3% 0.184 344.4);
Tailwind
colors: {
  custom: {
    50: '#e188bd',
    500: '#cf4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fa1;
$custom-light: #e188bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fa1",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 321.563,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.18404,
    "h": 344.4
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#CF4FA1
secondary
#A2D7B5
accent
#E07E47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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