#CF33B2#CF33B2

#CF33B2 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.4% C 0.229 H 336.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CF33B2
RGBrgb(207, 51, 178)
HSLhsl(311, 62%, 51%)
HSVhsv(311, 75%, 81%)
CMYKcmyk(0%, 75.4%, 14%, 18.8%)
CIE-LABlab(50.51, 71.53, -33.09)
CIE-LCHlch(50.51, 78.81, 335.18°)
OKLaboklab(60.38% 0.2107 -0.0901)
OKLCHoklch(60.38% 0.229 336.8)
XYZxyz(34.9525, 18.8507, 43.9086)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF33B2 #33CF50
analogous
#9E33CF #CF33B2 #CF3364
triadic
#CF33B2 #B2CF33 #33B2CF
tetradic
#CF33B2 #CF9E33 #33CF50 #3364CF
square
#CF33B2 #CF9E33 #33CF50 #3364CF
split-complementary
#CF33B2 #64CF33 #33CF9E
monochromatic
#6E1A5E #9F2589 #CF33B2 #DB65C5 #E696D7

Accessibility & contrast

On white

4.40
#CF33B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CF33B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF33B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF33B2#FFFFFF#000000##000000
##CF33B21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf33b2;
/* rgb */ color: rgb(207, 51, 178);
/* oklch */ color: oklch(60.4% 0.229 336.8);
Tailwind
colors: {
  custom: {
    50: '#e27bc9',
    500: '#cf33b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf33b2;
$custom-light: #e27bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf33b2",
  "rgb": {
    "r": 207,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 311.154,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.22914,
    "h": 336.8
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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