#CF34AD#CF34AD

#CF34AD is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.2% C 0.225 H 338.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CF34AD
RGBrgb(207, 52, 173)
HSLhsl(313, 62%, 51%)
HSVhsv(313, 75%, 81%)
CMYKcmyk(0%, 74.9%, 16.4%, 18.8%)
CIE-LABlab(50.38, 70.54, -30.35)
CIE-LCHlch(50.38, 76.80, 336.72°)
OKLaboklab(60.21% 0.2093 -0.0823)
OKLCHoklch(60.21% 0.225 338.5)
XYZxyz(34.5038, 18.7419, 41.3275)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34AD #34CF56
analogous
#A334CF #CF34AD #CF345F
triadic
#CF34AD #ADCF34 #34ADCF
tetradic
#CF34AD #CFA334 #34CF56 #345FCF
square
#CF34AD #CFA334 #34CF56 #345FCF
split-complementary
#CF34AD #5FCF34 #34CFA3
monochromatic
#6E1A5C #A02685 #CF34AD #DB65C1 #E697D5

Accessibility & contrast

On white

4.42
#CF34AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CF34AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34AD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34AD#FFFFFF#000000##000000
##CF34AD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B0
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#DB3C6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf34ad;
/* rgb */ color: rgb(207, 52, 173);
/* oklch */ color: oklch(60.2% 0.225 338.5);
Tailwind
colors: {
  custom: {
    50: '#e27bc5',
    500: '#cf34ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf34ad;
$custom-light: #e27bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34ad",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 313.161,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.22488,
    "h": 338.5
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#CF34AD
secondary
#8DD29C
accent
#E56643
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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