#CF3FA7#CF3FA7

#CF3FA7 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.9% C 0.209 H 341.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF3FA7
RGBrgb(207, 63, 167)
HSLhsl(317, 60%, 53%)
HSVhsv(317, 70%, 81%)
CMYKcmyk(0%, 69.6%, 19.3%, 18.8%)
CIE-LABlab(51.40, 66.11, -25.25)
CIE-LCHlch(51.40, 70.77, 339.10°)
OKLaboklab(60.86% 0.1975 -0.0679)
OKLCHoklch(60.86% 0.209 341)
XYZxyz(34.4857, 19.6138, 38.5214)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3FA7 #3FCF67
analogous
#AF3FCF #CF3FA7 #CF3F5F
triadic
#CF3FA7 #A7CF3F #3FA7CF
tetradic
#CF3FA7 #CFAF3F #3FCF67 #3F5FCF
square
#CF3FA7 #CFAF3F #3FCF67 #3F5FCF
split-complementary
#CF3FA7 #5FCF3F #3FCFAF
monochromatic
#761E5D #A72A84 #CF3FA7 #DB70BD #E7A1D4

Accessibility & contrast

On white

4.27
#CF3FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF3FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3FA7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3FA7#FFFFFF#000000##000000
##CF3FA71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#DB426E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf3fa7;
/* rgb */ color: rgb(207, 63, 167);
/* oklch */ color: oklch(60.9% 0.209 341.0);
Tailwind
colors: {
  custom: {
    50: '#e280c1',
    500: '#cf3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf3fa7;
$custom-light: #e280c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3fa7",
  "rgb": {
    "r": 207,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 316.667,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.20886,
    "h": 341
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#CF3FA7
secondary
#96D4A7
accent
#E37145
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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