#CF4AA6#CF4AA6

#CF4AA6 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.194 H 342.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CF4AA6
RGBrgb(207, 74, 166)
HSLhsl(318, 58%, 55%)
HSVhsv(318, 64%, 81%)
CMYKcmyk(0%, 64.3%, 19.8%, 18.8%)
CIE-LABlab(52.86, 61.79, -22.41)
CIE-LCHlch(52.86, 65.72, 340.07°)
OKLaboklab(61.91% 0.1846 -0.06)
OKLCHoklch(61.91% 0.194 342)
XYZxyz(35.0648, 20.9194, 38.2601)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4AA6 #4ACF73
analogous
#B54ACF #CF4AA6 #CF4A64
triadic
#CF4AA6 #A6CF4A #4AA6CF
tetradic
#CF4AA6 #CFB54A #4ACF73 #4A64CF
square
#CF4AA6 #CFB54A #4ACF73 #4A64CF
split-complementary
#CF4AA6 #64CF4A #4ACFB5
monochromatic
#7D2161 #AE2E86 #CF4AA6 #DC7ABE #E9ABD6

Accessibility & contrast

On white

4.05
#CF4AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF4AA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4AA6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4AA6#FFFFFF#000000##000000
##CF4AA61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470A9
Deuteranopia (green-blind)
#7C86A3
Tritanopia (blue-blind)
#DB4B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4aa6;
/* rgb */ color: rgb(207, 74, 166);
/* oklch */ color: oklch(61.9% 0.194 342.0);
Tailwind
colors: {
  custom: {
    50: '#e185c0',
    500: '#cf4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #cf4aa6;
$custom-light: #e185c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4aa6",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 318.496,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.19414,
    "h": 342
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#CF4AA6
secondary
#9FD6B0
accent
#E17646
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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