#CF34B3#CF34B3

#CF34B3 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.5% C 0.229 H 336.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CF34B3
RGBrgb(207, 52, 179)
HSLhsl(311, 62%, 51%)
HSVhsv(311, 75%, 81%)
CMYKcmyk(0%, 74.9%, 13.5%, 18.8%)
CIE-LABlab(50.66, 71.37, -33.43)
CIE-LCHlch(50.66, 78.82, 334.90°)
OKLaboklab(60.5% 0.2099 -0.0911)
OKLCHoklch(60.5% 0.229 336.5)
XYZxyz(35.0974, 18.9793, 44.4540)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF34B3 #34CF50
analogous
#9E34CF #CF34B3 #CF3465
triadic
#CF34B3 #B3CF34 #34B3CF
tetradic
#CF34B3 #CF9E34 #34CF50 #3465CF
square
#CF34B3 #CF9E34 #34CF50 #3465CF
split-complementary
#CF34B3 #65CF34 #34CF9E
monochromatic
#6E1A5F #A0268A #CF34B3 #DB65C6 #E697D8

Accessibility & contrast

On white

4.38
#CF34B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CF34B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF34B3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF34B3#FFFFFF#000000##000000
##CF34B31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376AB6
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#DA3F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf34b3;
/* rgb */ color: rgb(207, 52, 179);
/* oklch */ color: oklch(60.5% 0.229 336.5);
Tailwind
colors: {
  custom: {
    50: '#e27bca',
    500: '#cf34b3',
    950: '#000000',
  },
}
SCSS
$custom: #cf34b3;
$custom-light: #e27bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf34b3",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 310.839,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.22881,
    "h": 336.5
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#CF34B3
secondary
#8DD299
accent
#E56043
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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