#CF4FB4#CF4FB4

#CF4FB4 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.1% C 0.197 H 336.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CF4FB4
RGBrgb(207, 79, 180)
HSLhsl(313, 57%, 56%)
HSVhsv(313, 62%, 81%)
CMYKcmyk(0%, 61.8%, 13%, 18.8%)
CIE-LABlab(54.19, 61.76, -28.52)
CIE-LCHlch(54.19, 68.03, 335.22°)
OKLaboklab(63.08% 0.181 -0.0773)
OKLCHoklch(63.08% 0.197 336.9)
XYZxyz(36.7668, 22.1557, 45.5112)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FB4 #4FCF6A
analogous
#AA4FCF #CF4FB4 #CF4F74
triadic
#CF4FB4 #B4CF4F #4FB4CF
tetradic
#CF4FB4 #CFAA4F #4FCF6A #4F74CF
square
#CF4FB4 #CFAA4F #4FCF6A #4F74CF
split-complementary
#CF4FB4 #74CF4F #4FCFAA
monochromatic
#81236D #B13096 #CF4FB4 #DC7FC8 #E9AFDD

Accessibility & contrast

On white

3.87
#CF4FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CF4FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FB4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FB4#FFFFFF#000000##000000
##CF4FB41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#7989B1
Tritanopia (blue-blind)
#D9557A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf4fb4;
/* rgb */ color: rgb(207, 79, 180);
/* oklch */ color: oklch(63.1% 0.197 336.9);
Tailwind
colors: {
  custom: {
    50: '#e188ca',
    500: '#cf4fb4',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fb4;
$custom-light: #e188ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fb4",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 312.656,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.19682,
    "h": 336.9
  },
  "luminance": 0.22153
}

Semantic roles & 50–950 ramp

primary
#CF4FB4
secondary
#A2D7AE
accent
#E06847
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF4FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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