#CF3181#CF3181

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

Color values

HEX#CF3181
RGBrgb(207, 49, 129)
HSLhsl(330, 62%, 50%)
HSVhsv(330, 76%, 81%)
CMYKcmyk(0%, 76.3%, 37.7%, 18.8%)
CIE-LABlab(48.32, 66.15, -7.22)
CIE-LCHlch(48.32, 66.55, 353.77°)
OKLaboklab(58.14% 0.2032 -0.0182)
OKLCHoklch(58.14% 0.204 354.9)
XYZxyz(30.7950, 17.0509, 22.4341)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3181 #31CF7F
analogous
#CE31CF #CF3181 #CF3132
triadic
#CF3181 #81CF31 #3181CF
tetradic
#CF3181 #CFCE31 #31CF7F #3132CF
square
#CF3181 #CFCE31 #31CF7F #3132CF
split-complementary
#CF3181 #32CF31 #31CFCE
monochromatic
#6C1943 #9E2562 #CF3181 #DB639F #E694BE

Accessibility & contrast

On white

4.76
#CF3181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CF3181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3181
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3181#FFFFFF#000000##FFFFFF
##CF31811.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516083
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#E01D55
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf3181;
/* rgb */ color: rgb(207, 49, 129);
/* oklch */ color: oklch(58.1% 0.204 354.9);
Tailwind
colors: {
  custom: {
    50: '#e378a5',
    500: '#cf3181',
    950: '#000000',
  },
}
SCSS
$custom: #cf3181;
$custom-light: #e378a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3181",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 329.62,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.20407,
    "h": 354.9
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#CF3181
secondary
#8BD1AD
accent
#E59343
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF3181

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

Preview Lab → · Contrast checker → · Palette generator →

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