#CF34A9#CF34A9

#CF34A9 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.0% C 0.222 H 339.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CF34A9
RGBrgb(207, 52, 169)
HSLhsl(315, 62%, 51%)
HSVhsv(315, 75%, 81%)
CMYKcmyk(0%, 74.9%, 18.4%, 18.8%)
CIE-LABlab(50.20, 70.00, -28.28)
CIE-LCHlch(50.20, 75.50, 338.00°)
OKLaboklab(60.02% 0.2088 -0.0764)
OKLCHoklch(60.02% 0.222 339.9)
XYZxyz(34.1225, 18.5893, 39.3195)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34A9 #34CF5A
analogous
#A834CF #CF34A9 #CF345B
triadic
#CF34A9 #A9CF34 #34A9CF
tetradic
#CF34A9 #CFA834 #34CF5A #345BCF
square
#CF34A9 #CFA834 #34CF5A #345BCF
split-complementary
#CF34A9 #5BCF34 #34CFA8
monochromatic
#6E1A5A #A02682 #CF34A9 #DB65BE #E697D3

Accessibility & contrast

On white

4.45
#CF34A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CF34A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34A9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34A9#FFFFFF#000000##000000
##CF34A91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AC
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#DB396B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf34a9;
/* rgb */ color: rgb(207, 52, 169);
/* oklch */ color: oklch(60.0% 0.222 339.9);
Tailwind
colors: {
  custom: {
    50: '#e27bc3',
    500: '#cf34a9',
    950: '#000000',
  },
}
SCSS
$custom: #cf34a9;
$custom-light: #e27bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34a9",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 314.71,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.22233,
    "h": 339.9
  },
  "luminance": 0.18586
}

Semantic roles & 50–950 ramp

primary
#CF34A9
secondary
#8DD29E
accent
#E56B43
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CF34A9

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

Preview Lab → · Contrast checker → · Palette generator →

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