#CF41B2#CF41B2

#CF41B2 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.6% C 0.214 H 337.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF41B2
RGBrgb(207, 65, 178)
HSLhsl(312, 60%, 53%)
HSVhsv(312, 69%, 81%)
CMYKcmyk(0%, 68.6%, 14%, 18.8%)
CIE-LABlab(52.13, 66.94, -30.55)
CIE-LCHlch(52.13, 73.58, 335.47°)
OKLaboklab(61.55% 0.197 -0.083)
OKLCHoklch(61.55% 0.214 337.2)
XYZxyz(35.6589, 20.2635, 44.1441)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF41B2 #41CF5E
analogous
#A541CF #CF41B2 #CF416B
triadic
#CF41B2 #B2CF41 #41B2CF
tetradic
#CF41B2 #CFA541 #41CF5E #416BCF
square
#CF41B2 #CFA541 #41CF5E #416BCF
split-complementary
#CF41B2 #6BCF41 #41CFA5
monochromatic
#771E65 #A82B8F #CF41B2 #DB72C6 #E8A3DA

Accessibility & contrast

On white

4.16
#CF41B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF41B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF41B2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF41B2#FFFFFF#000000##000000
##CF41B21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#DA4974
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf41b2;
/* rgb */ color: rgb(207, 65, 178);
/* oklch */ color: oklch(61.6% 0.214 337.2);
Tailwind
colors: {
  custom: {
    50: '#e181c9',
    500: '#cf41b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf41b2;
$custom-light: #e181c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf41b2",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 312.254,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.21373,
    "h": 337.2
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#CF41B2
secondary
#97D4A4
accent
#E36545
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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