#CF34B2#CF34B2

#CF34B2 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.5% C 0.228 H 336.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CF34B2
RGBrgb(207, 52, 178)
HSLhsl(311, 62%, 51%)
HSVhsv(311, 75%, 81%)
CMYKcmyk(0%, 74.9%, 14%, 18.8%)
CIE-LABlab(50.62, 71.23, -32.92)
CIE-LCHlch(50.62, 78.47, 335.19°)
OKLaboklab(60.45% 0.2098 -0.0896)
OKLCHoklch(60.45% 0.228 336.9)
XYZxyz(34.9967, 18.9390, 43.9233)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34B2 #34CF51
analogous
#9E34CF #CF34B2 #CF3464
triadic
#CF34B2 #B2CF34 #34B2CF
tetradic
#CF34B2 #CF9E34 #34CF51 #3464CF
square
#CF34B2 #CF9E34 #34CF51 #3464CF
split-complementary
#CF34B2 #64CF34 #34CF9E
monochromatic
#6E1A5F #A02689 #CF34B2 #DB65C5 #E697D8

Accessibility & contrast

On white

4.39
#CF34B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CF34B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34B2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34B2#FFFFFF#000000##000000
##CF34B21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6E81AE
Tritanopia (blue-blind)
#DA3E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf34b2;
/* rgb */ color: rgb(207, 52, 178);
/* oklch */ color: oklch(60.5% 0.228 336.9);
Tailwind
colors: {
  custom: {
    50: '#e27bc9',
    500: '#cf34b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf34b2;
$custom-light: #e27bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34b2",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 311.226,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.22815,
    "h": 336.9
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#CF34B2
secondary
#8DD29A
accent
#E56143
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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