#CF3AA7#CF3AA7

#CF3AA7 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.215 H 340.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CF3AA7
RGBrgb(207, 58, 167)
HSLhsl(316, 61%, 52%)
HSVhsv(316, 72%, 81%)
CMYKcmyk(0%, 72%, 19.3%, 18.8%)
CIE-LABlab(50.79, 67.83, -26.20)
CIE-LCHlch(50.79, 72.71, 338.88°)
OKLaboklab(60.42% 0.2027 -0.0705)
OKLCHoklch(60.42% 0.215 340.8)
XYZxyz(34.2212, 19.0849, 38.4332)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3AA7 #3ACF62
analogous
#AC3ACF #CF3AA7 #CF3A5D
triadic
#CF3AA7 #A7CF3A #3AA7CF
tetradic
#CF3AA7 #CFAC3A #3ACF62 #3A5DCF
square
#CF3AA7 #CFAC3A #3ACF62 #3A5DCF
split-complementary
#CF3AA7 #5DCF3A #3ACFAC
monochromatic
#731C5B #A42883 #CF3AA7 #DB6BBD #E79CD3

Accessibility & contrast

On white

4.36
#CF3AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CF3AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3AA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3AA7#FFFFFF#000000##000000
##CF3AA71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#DB3E6C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf3aa7;
/* rgb */ color: rgb(207, 58, 167);
/* oklch */ color: oklch(60.4% 0.215 340.8);
Tailwind
colors: {
  custom: {
    50: '#e27dc1',
    500: '#cf3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf3aa7;
$custom-light: #e27dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3aa7",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 316.107,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.21465,
    "h": 340.8
  },
  "luminance": 0.19082
}

Semantic roles & 50–950 ramp

primary
#CF3AA7
secondary
#92D3A3
accent
#E46F44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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