#CF2C8F#CF2C8F

#CF2C8F is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.215 H 349.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF2C8F
RGBrgb(207, 44, 143)
HSLhsl(324, 65%, 49%)
HSVhsv(324, 79%, 81%)
CMYKcmyk(0%, 78.7%, 30.9%, 18.8%)
CIE-LABlab(48.33, 69.08, -15.68)
CIE-LCHlch(48.33, 70.84, 347.21°)
OKLaboklab(58.31% 0.2113 -0.0411)
OKLCHoklch(58.31% 0.215 349)
XYZxyz(31.5925, 17.0537, 27.6093)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2C8F #2CCF6C
analogous
#BE2CCF #CF2C8F #CF2C3E
triadic
#CF2C8F #8FCF2C #2C8FCF
tetradic
#CF2C8F #CFBE2C #2CCF6C #2C3ECF
square
#CF2C8F #CFBE2C #2CCF6C #2C3ECF
split-complementary
#CF2C8F #3ECF2C #2CCFBE
monochromatic
#6A1749 #9D216C #CF2C8F #DC5CAA #E78EC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2C8F#FFFFFF#000000##FFFFFF
##CF2C8F1.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)
#486192
Deuteranopia (green-blind)
#787D8B
Tritanopia (blue-blind)
#DE215B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf2c8f;
/* rgb */ color: rgb(207, 44, 143);
/* oklch */ color: oklch(58.3% 0.215 349.0);
Tailwind
colors: {
  custom: {
    50: '#e377af',
    500: '#cf2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #cf2c8f;
$custom-light: #e377af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2c8f",
  "rgb": {
    "r": 207,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 323.558,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.21523,
    "h": 349
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#CF2C8F
secondary
#85D1A3
accent
#E88240
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CF2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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