#CF34A1#CF34A1

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

Color values

HEX#CF34A1
RGBrgb(207, 52, 161)
HSLhsl(318, 62%, 51%)
HSVhsv(318, 75%, 81%)
CMYKcmyk(0%, 74.9%, 22.2%, 18.8%)
CIE-LABlab(49.86, 68.96, -24.09)
CIE-LCHlch(49.86, 73.04, 340.74°)
OKLaboklab(59.66% 0.2076 -0.0646)
OKLCHoklch(59.66% 0.217 342.7)
XYZxyz(33.3944, 18.2981, 35.4845)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34A1 #34CF62
analogous
#AF34CF #CF34A1 #CF3454
triadic
#CF34A1 #A1CF34 #34A1CF
tetradic
#CF34A1 #CFAF34 #34CF62 #3454CF
square
#CF34A1 #CFAF34 #34CF62 #3454CF
split-complementary
#CF34A1 #54CF34 #34CFAF
monochromatic
#6E1A55 #A0267C #CF34A1 #DB65B8 #E697CF

Accessibility & contrast

On white

4.51
#CF34A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CF34A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34A1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34A1#FFFFFF#000000##000000
##CF34A11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#75809D
Tritanopia (blue-blind)
#DC3567
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf34a1;
/* rgb */ color: rgb(207, 52, 161);
/* oklch */ color: oklch(59.7% 0.217 342.7);
Tailwind
colors: {
  custom: {
    50: '#e27bbd',
    500: '#cf34a1',
    950: '#000000',
  },
}
SCSS
$custom: #cf34a1;
$custom-light: #e27bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34a1",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 317.806,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.21743,
    "h": 342.7
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF34A1

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

Preview Lab → · Contrast checker → · Palette generator →

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