#CF34A4#CF34A4

#CF34A4 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.8% C 0.219 H 341.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF34A4
RGBrgb(207, 52, 164)
HSLhsl(317, 62%, 51%)
HSVhsv(317, 75%, 81%)
CMYKcmyk(0%, 74.9%, 20.8%, 18.8%)
CIE-LABlab(49.98, 69.34, -25.67)
CIE-LCHlch(49.98, 73.94, 339.69°)
OKLaboklab(59.79% 0.2081 -0.069)
OKLCHoklch(59.79% 0.219 341.7)
XYZxyz(33.6621, 18.4052, 36.8945)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34A4 #34CF5F
analogous
#AC34CF #CF34A4 #CF3456
triadic
#CF34A4 #A4CF34 #34A4CF
tetradic
#CF34A4 #CFAC34 #34CF5F #3456CF
square
#CF34A4 #CFAC34 #34CF5F #3456CF
split-complementary
#CF34A4 #56CF34 #34CFAC
monochromatic
#6E1A57 #A0267E #CF34A4 #DB65BA #E697D0

Accessibility & contrast

On white

4.49
#CF34A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CF34A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34A4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34A4#FFFFFF#000000##000000
##CF34A41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#DC3768
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf34a4;
/* rgb */ color: rgb(207, 52, 164);
/* oklch */ color: oklch(59.8% 0.219 341.7);
Tailwind
colors: {
  custom: {
    50: '#e27bbf',
    500: '#cf34a4',
    950: '#000000',
  },
}
SCSS
$custom: #cf34a4;
$custom-light: #e27bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34a4",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 316.645,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.21924,
    "h": 341.7
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#CF34A4
secondary
#8DD2A0
accent
#E57043
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CF34A4

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

Preview Lab → · Contrast checker → · Palette generator →

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