#CF33B1#CF33B1

#CF33B1 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.3% C 0.228 H 337.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF33B1
RGBrgb(207, 51, 177)
HSLhsl(312, 62%, 51%)
HSVhsv(312, 75%, 81%)
CMYKcmyk(0%, 75.4%, 14.5%, 18.8%)
CIE-LABlab(50.47, 71.39, -32.57)
CIE-LCHlch(50.47, 78.47, 335.47°)
OKLaboklab(60.33% 0.2106 -0.0886)
OKLCHoklch(60.33% 0.228 337.2)
XYZxyz(34.8525, 18.8107, 43.3817)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF33B1 #33CF51
analogous
#9F33CF #CF33B1 #CF3363
triadic
#CF33B1 #B1CF33 #33B1CF
tetradic
#CF33B1 #CF9F33 #33CF51 #3363CF
square
#CF33B1 #CF9F33 #33CF51 #3363CF
split-complementary
#CF33B1 #63CF33 #33CF9F
monochromatic
#6E1A5E #9F2588 #CF33B1 #DB65C4 #E696D7

Accessibility & contrast

On white

4.41
#CF33B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF33B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF33B1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF33B1#FFFFFF#000000##000000
##CF33B11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#DA3D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf33b1;
/* rgb */ color: rgb(207, 51, 177);
/* oklch */ color: oklch(60.3% 0.228 337.2);
Tailwind
colors: {
  custom: {
    50: '#e27bc8',
    500: '#cf33b1',
    950: '#000000',
  },
}
SCSS
$custom: #cf33b1;
$custom-light: #e27bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf33b1",
  "rgb": {
    "r": 207,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 311.538,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.22849,
    "h": 337.2
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#CF33B1
secondary
#8CD29A
accent
#E56243
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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