#CF4096#CF4096

#CF4096 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.198 H 347.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CF4096
RGBrgb(207, 64, 150)
HSLhsl(324, 60%, 53%)
HSVhsv(324, 69%, 81%)
CMYKcmyk(0%, 69.1%, 27.5%, 18.8%)
CIE-LABlab(50.85, 63.54, -16.03)
CIE-LCHlch(50.85, 65.53, 345.84°)
OKLaboklab(60.24% 0.193 -0.0422)
OKLCHoklch(60.24% 0.198 347.7)
XYZxyz(33.0720, 19.1377, 30.8005)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4096 #40CF79
analogous
#C040CF #CF4096 #CF404E
triadic
#CF4096 #96CF40 #4096CF
tetradic
#CF4096 #CFC040 #40CF79 #404ECF
square
#CF4096 #CFC040 #40CF79 #404ECF
split-complementary
#CF4096 #4ECF40 #40CFC0
monochromatic
#771E53 #A82A76 #CF4096 #DB71B1 #E8A2CC

Accessibility & contrast

On white

4.35
#CF4096 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CF4096 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4096
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4096#FFFFFF#000000##000000
##CF40961.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#536998
Deuteranopia (green-blind)
#7D8293
Tritanopia (blue-blind)
#DD3B65
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4096;
/* rgb */ color: rgb(207, 64, 150);
/* oklch */ color: oklch(60.2% 0.198 347.7);
Tailwind
colors: {
  custom: {
    50: '#e280b5',
    500: '#cf4096',
    950: '#000000',
  },
}
SCSS
$custom: #cf4096;
$custom-light: #e280b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4096",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 323.916,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.19754,
    "h": 347.7
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#CF4096
secondary
#97D4AF
accent
#E38445
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4096

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

Preview Lab → · Contrast checker → · Palette generator →

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