#CF2D8C#CF2D8C

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

Color values

HEX#CF2D8C
RGBrgb(207, 45, 140)
HSLhsl(325, 64%, 49%)
HSVhsv(325, 78%, 81%)
CMYKcmyk(0%, 78.3%, 32.4%, 18.8%)
CIE-LABlab(48.31, 68.47, -13.90)
CIE-LCHlch(48.31, 69.87, 348.53°)
OKLaboklab(58.26% 0.2097 -0.0362)
OKLCHoklch(58.26% 0.213 350.2)
XYZxyz(31.4060, 17.0394, 26.4409)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2D8C #2DCF70
analogous
#C12DCF #CF2D8C #CF2D3B
triadic
#CF2D8C #8CCF2D #2D8CCF
tetradic
#CF2D8C #CFC12D #2DCF70 #2D3BCF
square
#CF2D8C #CFC12D #2DCF70 #2D3BCF
split-complementary
#CF2D8C #3BCF2D #2DCFC1
monochromatic
#6A1748 #9D226A #CF2D8C #DC5DA8 #E790C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2D8C#FFFFFF#000000##FFFFFF
##CF2D8C1.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)
#4A608E
Deuteranopia (green-blind)
#797D88
Tritanopia (blue-blind)
#DF2059
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf2d8c;
/* rgb */ color: rgb(207, 45, 140);
/* oklch */ color: oklch(58.3% 0.213 350.2);
Tailwind
colors: {
  custom: {
    50: '#e377ad',
    500: '#cf2d8c',
    950: '#000000',
  },
}
SCSS
$custom: #cf2d8c;
$custom-light: #e377ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2d8c",
  "rgb": {
    "r": 207,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 324.815,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.21284,
    "h": 350.2
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#CF2D8C
secondary
#87D1A5
accent
#E78541
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CF2D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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