#CF3081#CF3081

#CF3081 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.205 H 354.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CF3081
RGBrgb(207, 48, 129)
HSLhsl(329, 62%, 50%)
HSVhsv(329, 77%, 81%)
CMYKcmyk(0%, 76.8%, 37.7%, 18.8%)
CIE-LABlab(48.22, 66.45, -7.38)
CIE-LCHlch(48.22, 66.86, 353.66°)
OKLaboklab(58.07% 0.2042 -0.0186)
OKLCHoklch(58.07% 0.205 354.8)
XYZxyz(30.7536, 16.9681, 22.4203)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3081 #30CF7E
analogous
#CE30CF #CF3081 #CF3031
triadic
#CF3081 #81CF30 #3081CF
tetradic
#CF3081 #CFCE30 #30CF7E #3031CF
square
#CF3081 #CFCE30 #30CF7E #3031CF
split-complementary
#CF3081 #31CF30 #30CFCE
monochromatic
#6C1943 #9D2462 #CF3081 #DB629F #E693BD

Accessibility & contrast

On white

4.78
#CF3081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CF3081 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3081
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3081#FFFFFF#000000##FFFFFF
##CF30811.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506083
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#E01B55
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf3081;
/* rgb */ color: rgb(207, 48, 129);
/* oklch */ color: oklch(58.1% 0.205 354.8);
Tailwind
colors: {
  custom: {
    50: '#e378a5',
    500: '#cf3081',
    950: '#000000',
  },
}
SCSS
$custom: #cf3081;
$custom-light: #e378a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3081",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 329.434,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.20504,
    "h": 354.8
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#CF3081
secondary
#8AD1AD
accent
#E59242
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF3081

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

Preview Lab → · Contrast checker → · Palette generator →

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