#CF34AA#CF34AA

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

Color values

HEX#CF34AA
RGBrgb(207, 52, 170)
HSLhsl(314, 62%, 51%)
HSVhsv(314, 75%, 81%)
CMYKcmyk(0%, 74.9%, 17.9%, 18.8%)
CIE-LABlab(50.25, 70.14, -28.80)
CIE-LCHlch(50.25, 75.82, 337.68°)
OKLaboklab(60.07% 0.2089 -0.0779)
OKLCHoklch(60.07% 0.223 339.6)
XYZxyz(34.2167, 18.6270, 39.8158)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34AA #34CF59
analogous
#A734CF #CF34AA #CF345C
triadic
#CF34AA #AACF34 #34AACF
tetradic
#CF34AA #CFA734 #34CF59 #345CCF
square
#CF34AA #CFA734 #34CF59 #345CCF
split-complementary
#CF34AA #5CCF34 #34CFA7
monochromatic
#6E1A5A #A02683 #CF34AA #DB65BF #E697D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF34AA#FFFFFF#000000##000000
##CF34AA1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#7280A6
Tritanopia (blue-blind)
#DB3A6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf34aa;
/* rgb */ color: rgb(207, 52, 170);
/* oklch */ color: oklch(60.1% 0.223 339.6);
Tailwind
colors: {
  custom: {
    50: '#e27bc3',
    500: '#cf34aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf34aa;
$custom-light: #e27bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34aa",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 314.323,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60068,
    "c": 0.22296,
    "h": 339.6
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#CF34AA
secondary
#8DD29D
accent
#E56A43
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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