#CF4AA2#CF4AA2

#CF4AA2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.192 H 343.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CF4AA2
RGBrgb(207, 74, 162)
HSLhsl(320, 58%, 55%)
HSVhsv(320, 64%, 81%)
CMYKcmyk(0%, 64.3%, 21.7%, 18.8%)
CIE-LABlab(52.70, 61.24, -20.30)
CIE-LCHlch(52.70, 64.51, 341.66°)
OKLaboklab(61.75% 0.1838 -0.0541)
OKLCHoklch(61.75% 0.192 343.6)
XYZxyz(34.7036, 20.7749, 36.3577)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4AA2 #4ACF77
analogous
#BA4ACF #CF4AA2 #CF4A5F
triadic
#CF4AA2 #A2CF4A #4AA2CF
tetradic
#CF4AA2 #CFBA4A #4ACF77 #4A5FCF
square
#CF4AA2 #CFBA4A #4ACF77 #4A5FCF
split-complementary
#CF4AA2 #5FCF4A #4ACFBA
monochromatic
#7D215E #AE2E83 #CF4AA2 #DC7ABB #E9ABD4

Accessibility & contrast

On white

4.07
#CF4AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CF4AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4AA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4AA2#FFFFFF#000000##000000
##CF4AA21.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#DC4A6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4aa2;
/* rgb */ color: rgb(207, 74, 162);
/* oklch */ color: oklch(61.7% 0.192 343.6);
Tailwind
colors: {
  custom: {
    50: '#e185bd',
    500: '#cf4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4aa2;
$custom-light: #e185bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4aa2",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 320.301,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.19161,
    "h": 343.6
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#CF4AA2
secondary
#9FD6B1
accent
#E17B46
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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