#CF34AC#CF34AC

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

Color values

HEX#CF34AC
RGBrgb(207, 52, 172)
HSLhsl(314, 62%, 51%)
HSVhsv(314, 75%, 81%)
CMYKcmyk(0%, 74.9%, 16.9%, 18.8%)
CIE-LABlab(50.34, 70.41, -29.84)
CIE-LCHlch(50.34, 76.47, 337.04°)
OKLaboklab(60.16% 0.2092 -0.0808)
OKLCHoklch(60.16% 0.224 338.9)
XYZxyz(34.4074, 18.7033, 40.8198)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34AC #34CF57
analogous
#A434CF #CF34AC #CF345E
triadic
#CF34AC #ACCF34 #34ACCF
tetradic
#CF34AC #CFA434 #34CF57 #345ECF
square
#CF34AC #CFA434 #34CF57 #345ECF
split-complementary
#CF34AC #5ECF34 #34CFA4
monochromatic
#6E1A5B #A02684 #CF34AC #DB65C0 #E697D4

Accessibility & contrast

On white

4.43
#CF34AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CF34AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34AC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34AC#FFFFFF#000000##000000
##CF34AC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#7180A8
Tritanopia (blue-blind)
#DB3B6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf34ac;
/* rgb */ color: rgb(207, 52, 172);
/* oklch */ color: oklch(60.2% 0.224 338.9);
Tailwind
colors: {
  custom: {
    50: '#e27bc5',
    500: '#cf34ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf34ac;
$custom-light: #e27bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34ac",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 313.548,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.22424,
    "h": 338.9
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#CF34AC
secondary
#8DD29D
accent
#E56843
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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