#CF34AF#CF34AF

#CF34AF is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.3% C 0.226 H 337.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF34AF
RGBrgb(207, 52, 175)
HSLhsl(312, 62%, 51%)
HSVhsv(312, 75%, 81%)
CMYKcmyk(0%, 74.9%, 15.5%, 18.8%)
CIE-LABlab(50.48, 70.82, -31.38)
CIE-LCHlch(50.48, 77.46, 336.10°)
OKLaboklab(60.31% 0.2095 -0.0852)
OKLCHoklch(60.31% 0.226 337.9)
XYZxyz(34.6987, 18.8198, 42.3543)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34AF #34CF54
analogous
#A134CF #CF34AF #CF3461
triadic
#CF34AF #AFCF34 #34AFCF
tetradic
#CF34AF #CFA134 #34CF54 #3461CF
square
#CF34AF #CFA134 #34CF54 #3461CF
split-complementary
#CF34AF #61CF34 #34CFA1
monochromatic
#6E1A5D #A02687 #CF34AF #DB65C3 #E697D6

Accessibility & contrast

On white

4.41
#CF34AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF34AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34AF#FFFFFF#000000##000000
##CF34AF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#7081AB
Tritanopia (blue-blind)
#DA3D6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf34af;
/* rgb */ color: rgb(207, 52, 175);
/* oklch */ color: oklch(60.3% 0.226 337.9);
Tailwind
colors: {
  custom: {
    50: '#e27bc7',
    500: '#cf34af',
    950: '#000000',
  },
}
SCSS
$custom: #cf34af;
$custom-light: #e27bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34af",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 312.387,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.22618,
    "h": 337.9
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#CF34AF
secondary
#8DD29B
accent
#E56443
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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