#CF2F7E#CF2F7E

#CF2F7E is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.205 H 355.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CF2F7E
RGBrgb(207, 47, 126)
HSLhsl(330, 63%, 50%)
HSVhsv(330, 77%, 81%)
CMYKcmyk(0%, 77.3%, 39.1%, 18.8%)
CIE-LABlab(48.02, 66.44, -5.86)
CIE-LCHlch(48.02, 66.69, 354.96°)
OKLaboklab(57.89% 0.2042 -0.0146)
OKLCHoklch(57.89% 0.205 355.9)
XYZxyz(30.5167, 16.8087, 21.3720)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F7E #2FCF80
analogous
#CF2FCE #CF2F7E #CF302F
triadic
#CF2F7E #7ECF2F #2F7ECF
tetradic
#CF2F7E #CECF2F #2FCF80 #302FCF
square
#CF2F7E #CECF2F #2FCF80 #302FCF
split-complementary
#CF2F7E #2FCF30 #2FCECF
monochromatic
#6B1841 #9D2460 #CF2F7E #DB609D #E692BC

Accessibility & contrast

On white

4.82
#CF2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CF2F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F7E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F7E#FFFFFF#000000##FFFFFF
##CF2F7E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#7D7D7A
Tritanopia (blue-blind)
#E01753
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2f7e;
/* rgb */ color: rgb(207, 47, 126);
/* oklch */ color: oklch(57.9% 0.205 355.9);
Tailwind
colors: {
  custom: {
    50: '#e378a3',
    500: '#cf2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f7e;
$custom-light: #e378a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f7e",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 330.375,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.20477,
    "h": 355.9
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#CF2F7E
secondary
#89D1AD
accent
#E69542
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #CF2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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