#CF41B7#CF41B7

#CF41B7 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.8% C 0.217 H 335.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF41B7
RGBrgb(207, 65, 183)
HSLhsl(310, 60%, 53%)
HSVhsv(310, 69%, 81%)
CMYKcmyk(0%, 68.6%, 11.6%, 18.8%)
CIE-LABlab(52.36, 67.67, -33.11)
CIE-LCHlch(52.36, 75.33, 333.93°)
OKLaboklab(61.79% 0.1976 -0.0903)
OKLCHoklch(61.79% 0.217 335.4)
XYZxyz(36.1701, 20.4680, 46.8363)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF41B7 #41CF59
analogous
#A041CF #CF41B7 #CF4170
triadic
#CF41B7 #B7CF41 #41B7CF
tetradic
#CF41B7 #CFA041 #41CF59 #4170CF
square
#CF41B7 #CFA041 #41CF59 #4170CF
split-complementary
#CF41B7 #70CF41 #41CFA0
monochromatic
#771E68 #A82B93 #CF41B7 #DB72CA #E8A3DC

Accessibility & contrast

On white

4.12
#CF41B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF41B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF41B7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF41B7#FFFFFF#000000##000000
##CF41B71.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D94B77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf41b7;
/* rgb */ color: rgb(207, 65, 183);
/* oklch */ color: oklch(61.8% 0.217 335.4);
Tailwind
colors: {
  custom: {
    50: '#e181cd',
    500: '#cf41b7',
    950: '#000000',
  },
}
SCSS
$custom: #cf41b7;
$custom-light: #e181cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf41b7",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 310.141,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61791,
    "c": 0.21722,
    "h": 335.4
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#CF41B7
secondary
#97D4A2
accent
#E36045
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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