#CF34AE#CF34AE

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

Color values

HEX#CF34AE
RGBrgb(207, 52, 174)
HSLhsl(313, 62%, 51%)
HSVhsv(313, 75%, 81%)
CMYKcmyk(0%, 74.9%, 15.9%, 18.8%)
CIE-LABlab(50.43, 70.68, -30.87)
CIE-LCHlch(50.43, 77.13, 336.41°)
OKLaboklab(60.26% 0.2094 -0.0838)
OKLCHoklch(60.26% 0.226 338.2)
XYZxyz(34.6009, 18.7807, 41.8390)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34AE #34CF55
analogous
#A234CF #CF34AE #CF3460
triadic
#CF34AE #AECF34 #34AECF
tetradic
#CF34AE #CFA234 #34CF55 #3460CF
square
#CF34AE #CFA234 #34CF55 #3460CF
split-complementary
#CF34AE #60CF34 #34CFA2
monochromatic
#6E1A5D #A02686 #CF34AE #DB65C2 #E697D5

Accessibility & contrast

On white

4.42
#CF34AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF34AE#FFFFFF#000000##000000
##CF34AE1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B1
Deuteranopia (green-blind)
#7081AA
Tritanopia (blue-blind)
#DB3C6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf34ae;
/* rgb */ color: rgb(207, 52, 174);
/* oklch */ color: oklch(60.3% 0.226 338.2);
Tailwind
colors: {
  custom: {
    50: '#e27bc6',
    500: '#cf34ae',
    950: '#000000',
  },
}
SCSS
$custom: #cf34ae;
$custom-light: #e27bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34ae",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 312.774,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.22553,
    "h": 338.2
  },
  "luminance": 0.18777
}

Semantic roles & 50–950 ramp

primary
#CF34AE
secondary
#8DD29C
accent
#E56543
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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