#CC3FB2#CC3FB2

#CC3FB2 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.9% C 0.214 H 336.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC3FB2
RGBrgb(204, 63, 178)
HSLhsl(311, 58%, 52%)
HSVhsv(311, 69%, 80%)
CMYKcmyk(0%, 69.1%, 12.7%, 20%)
CIE-LABlab(51.39, 66.92, -31.74)
CIE-LCHlch(51.39, 74.07, 334.62°)
OKLaboklab(60.92% 0.1961 -0.0864)
OKLCHoklch(60.92% 0.214 336.2)
XYZxyz(34.7157, 19.6098, 44.0675)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FB2 #3FCC59
analogous
#A03FCC #CC3FB2 #CC3F6B
triadic
#CC3FB2 #B2CC3F #3FB2CC
tetradic
#CC3FB2 #CCA03F #3FCC59 #3F6BCC
square
#CC3FB2 #CCA03F #3FCC59 #3F6BCC
split-complementary
#CC3FB2 #6BCC3F #3FCCA0
monochromatic
#721E63 #A32B8D #CC3FB2 #D96FC5 #E6A0D9

Accessibility & contrast

On white

4.27
#CC3FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC3FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FB2#FFFFFF#000000##000000
##CC3FB21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#D64873
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3fb2;
/* rgb */ color: rgb(204, 63, 178);
/* oklch */ color: oklch(60.9% 0.214 336.2);
Tailwind
colors: {
  custom: {
    50: '#df80c9',
    500: '#cc3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fb2;
$custom-light: #df80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fb2",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 311.064,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.21433,
    "h": 336.2
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#CC3FB2
secondary
#95D2A0
accent
#E16347
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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