#CF34A2#CF34A2

#CF34A2 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.218 H 342.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CF34A2
RGBrgb(207, 52, 162)
HSLhsl(317, 62%, 51%)
HSVhsv(317, 75%, 81%)
CMYKcmyk(0%, 74.9%, 21.7%, 18.8%)
CIE-LABlab(49.90, 69.08, -24.62)
CIE-LCHlch(49.90, 73.34, 340.39°)
OKLaboklab(59.7% 0.2078 -0.066)
OKLCHoklch(59.7% 0.218 342.4)
XYZxyz(33.4829, 18.3335, 35.9508)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34A2 #34CF61
analogous
#AE34CF #CF34A2 #CF3454
triadic
#CF34A2 #A2CF34 #34A2CF
tetradic
#CF34A2 #CFAE34 #34CF61 #3454CF
square
#CF34A2 #CFAE34 #34CF61 #3454CF
split-complementary
#CF34A2 #54CF34 #34CFAE
monochromatic
#6E1A56 #A0267D #CF34A2 #DB65B9 #E697CF

Accessibility & contrast

On white

4.50
#CF34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CF34A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34A2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34A2#FFFFFF#000000##000000
##CF34A21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#75809E
Tritanopia (blue-blind)
#DC3667
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf34a2;
/* rgb */ color: rgb(207, 52, 162);
/* oklch */ color: oklch(59.7% 0.218 342.4);
Tailwind
colors: {
  custom: {
    50: '#e27bbd',
    500: '#cf34a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf34a2;
$custom-light: #e27bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34a2",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 317.419,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.21803,
    "h": 342.4
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#CF34A2
secondary
#8DD2A1
accent
#E57243
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CF34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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