#CF34A5#CF34A5

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

Color values

HEX#CF34A5
RGBrgb(207, 52, 165)
HSLhsl(316, 62%, 51%)
HSVhsv(316, 75%, 81%)
CMYKcmyk(0%, 74.9%, 20.3%, 18.8%)
CIE-LABlab(50.03, 69.47, -26.19)
CIE-LCHlch(50.03, 74.25, 339.34°)
OKLaboklab(59.84% 0.2082 -0.0705)
OKLCHoklch(59.84% 0.22 341.3)
XYZxyz(33.7527, 18.4414, 37.3720)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34A5 #34CF5E
analogous
#AB34CF #CF34A5 #CF3457
triadic
#CF34A5 #A5CF34 #34A5CF
tetradic
#CF34A5 #CFAB34 #34CF5E #3457CF
square
#CF34A5 #CFAB34 #34CF5E #3457CF
split-complementary
#CF34A5 #57CF34 #34CFAB
monochromatic
#6E1A58 #A0267F #CF34A5 #DB65BB #E697D1

Accessibility & contrast

On white

4.48
#CF34A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CF34A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34A5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34A5#FFFFFF#000000##000000
##CF34A51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#7380A1
Tritanopia (blue-blind)
#DC3769
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf34a5;
/* rgb */ color: rgb(207, 52, 165);
/* oklch */ color: oklch(59.8% 0.220 341.3);
Tailwind
colors: {
  custom: {
    50: '#e27bc0',
    500: '#cf34a5',
    950: '#000000',
  },
}
SCSS
$custom: #cf34a5;
$custom-light: #e27bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34a5",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 316.258,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.21985,
    "h": 341.3
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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