#CF41A7#CF41A7

#CF41A7 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.206 H 341.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF41A7
RGBrgb(207, 65, 167)
HSLhsl(317, 60%, 53%)
HSVhsv(317, 69%, 81%)
CMYKcmyk(0%, 68.6%, 19.3%, 18.8%)
CIE-LABlab(51.66, 65.39, -24.85)
CIE-LCHlch(51.66, 69.95, 339.19°)
OKLaboklab(61.05% 0.1953 -0.0668)
OKLCHoklch(61.05% 0.206 341.1)
XYZxyz(34.5985, 19.8393, 38.5590)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF41A7 #41CF69
analogous
#B041CF #CF41A7 #CF4160
triadic
#CF41A7 #A7CF41 #41A7CF
tetradic
#CF41A7 #CFB041 #41CF69 #4160CF
square
#CF41A7 #CFB041 #41CF69 #4160CF
split-complementary
#CF41A7 #60CF41 #41CFB0
monochromatic
#771E5E #A82B85 #CF41A7 #DB72BE #E8A3D4

Accessibility & contrast

On white

4.23
#CF41A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF41A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF41A7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF41A7#FFFFFF#000000##000000
##CF41A71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CAA
Deuteranopia (green-blind)
#7883A4
Tritanopia (blue-blind)
#DB446E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf41a7;
/* rgb */ color: rgb(207, 65, 167);
/* oklch */ color: oklch(61.0% 0.206 341.1);
Tailwind
colors: {
  custom: {
    50: '#e181c1',
    500: '#cf41a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf41a7;
$custom-light: #e181c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf41a7",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 316.901,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61046,
    "c": 0.20643,
    "h": 341.1
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#CF41A7
secondary
#97D4A9
accent
#E37145
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF41A7

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

Preview Lab → · Contrast checker → · Palette generator →

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