#CF4AA7#CF4AA7

#CF4AA7 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.195 H 341.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CF4AA7
RGBrgb(207, 74, 167)
HSLhsl(318, 58%, 55%)
HSVhsv(318, 64%, 81%)
CMYKcmyk(0%, 64.3%, 19.3%, 18.8%)
CIE-LABlab(52.90, 61.93, -22.93)
CIE-LCHlch(52.90, 66.04, 339.68°)
OKLaboklab(61.96% 0.1848 -0.0615)
OKLCHoklch(61.96% 0.195 341.6)
XYZxyz(35.1569, 20.9562, 38.7451)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4AA7 #4ACF72
analogous
#B44ACF #CF4AA7 #CF4A64
triadic
#CF4AA7 #A7CF4A #4AA7CF
tetradic
#CF4AA7 #CFB44A #4ACF72 #4A64CF
square
#CF4AA7 #CFB44A #4ACF72 #4A64CF
split-complementary
#CF4AA7 #64CF4A #4ACFB4
monochromatic
#7D2162 #AE2E87 #CF4AA7 #DC7ABF #E9ABD6

Accessibility & contrast

On white

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

On black

5.19
#CF4AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4AA7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4AA7#FFFFFF#000000##000000
##CF4AA71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#7C86A4
Tritanopia (blue-blind)
#DB4C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4aa7;
/* rgb */ color: rgb(207, 74, 167);
/* oklch */ color: oklch(62.0% 0.195 341.6);
Tailwind
colors: {
  custom: {
    50: '#e185c1',
    500: '#cf4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4aa7;
$custom-light: #e185c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4aa7",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 318.045,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.19479,
    "h": 341.6
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#CF4AA7
secondary
#9FD6AF
accent
#E17546
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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