#CF35A8#CF35A8

#CF35A8 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.1% C 0.221 H 340.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CF35A8
RGBrgb(207, 53, 168)
HSLhsl(315, 62%, 51%)
HSVhsv(315, 74%, 81%)
CMYKcmyk(0%, 74.4%, 18.8%, 18.8%)
CIE-LABlab(50.27, 69.56, -27.59)
CIE-LCHlch(50.27, 74.84, 338.36°)
OKLaboklab(60.05% 0.2077 -0.0745)
OKLCHoklch(60.05% 0.221 340.3)
XYZxyz(34.0741, 18.6422, 38.8420)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF35A8 #35CF5C
analogous
#A935CF #CF35A8 #CF355B
triadic
#CF35A8 #A8CF35 #35A8CF
tetradic
#CF35A8 #CFA935 #35CF5C #355BCF
square
#CF35A8 #CFA935 #35CF5C #355BCF
split-complementary
#CF35A8 #5BCF35 #35CFA9
monochromatic
#6F1A5A #A12682 #CF35A8 #DB66BD #E798D3

Accessibility & contrast

On white

4.44
#CF35A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CF35A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF35A8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF35A8#FFFFFF#000000##000000
##CF35A81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#DB3A6B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf35a8;
/* rgb */ color: rgb(207, 53, 168);
/* oklch */ color: oklch(60.1% 0.221 340.3);
Tailwind
colors: {
  custom: {
    50: '#e27bc2',
    500: '#cf35a8',
    950: '#000000',
  },
}
SCSS
$custom: #cf35a8;
$custom-light: #e27bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf35a8",
  "rgb": {
    "r": 207,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 315.195,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.22068,
    "h": 340.3
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#CF35A8
secondary
#8ED29F
accent
#E56C43
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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