#CF41B5#CF41B5

#CF41B5 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.7% C 0.216 H 336.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF41B5
RGBrgb(207, 65, 181)
HSLhsl(311, 60%, 53%)
HSVhsv(311, 69%, 81%)
CMYKcmyk(0%, 68.6%, 12.6%, 18.8%)
CIE-LABlab(52.27, 67.37, -32.09)
CIE-LCHlch(52.27, 74.62, 334.53°)
OKLaboklab(61.69% 0.1973 -0.0873)
OKLCHoklch(61.69% 0.216 336.1)
XYZxyz(35.9634, 20.3853, 45.7478)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF41B5 #41CF5B
analogous
#A241CF #CF41B5 #CF416E
triadic
#CF41B5 #B5CF41 #41B5CF
tetradic
#CF41B5 #CFA241 #41CF5B #416ECF
square
#CF41B5 #CFA241 #41CF5B #416ECF
split-complementary
#CF41B5 #6ECF41 #41CFA2
monochromatic
#771E67 #A82B91 #CF41B5 #DB72C8 #E8A3DB

Accessibility & contrast

On white

4.14
#CF41B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF41B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF41B5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF41B5#FFFFFF#000000##000000
##CF41B51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#7284B2
Tritanopia (blue-blind)
#D94A76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf41b5;
/* rgb */ color: rgb(207, 65, 181);
/* oklch */ color: oklch(61.7% 0.216 336.1);
Tailwind
colors: {
  custom: {
    50: '#e181cb',
    500: '#cf41b5',
    950: '#000000',
  },
}
SCSS
$custom: #cf41b5;
$custom-light: #e181cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf41b5",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 310.986,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.21581,
    "h": 336.1
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#CF41B5
secondary
#97D4A3
accent
#E36245
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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