#CF3A7F#CF3A7F

#CF3A7F is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.194 H 356.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CF3A7F
RGBrgb(207, 58, 127)
HSLhsl(332, 61%, 52%)
HSVhsv(332, 72%, 81%)
CMYKcmyk(0%, 72%, 38.6%, 18.8%)
CIE-LABlab(49.29, 63.06, -4.58)
CIE-LCHlch(49.29, 63.22, 355.84°)
OKLaboklab(58.83% 0.1935 -0.0112)
OKLCHoklch(58.83% 0.194 356.7)
XYZxyz(31.0780, 17.8276, 21.8791)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A7F #3ACF8A
analogous
#CF3AC9 #CF3A7F #CF403A
triadic
#CF3A7F #7FCF3A #3A7FCF
tetradic
#CF3A7F #C9CF3A #3ACF8A #403ACF
square
#CF3A7F #C9CF3A #3ACF8A #403ACF
split-complementary
#CF3A7F #3ACF40 #3AC9CF
monochromatic
#731C44 #A42861 #CF3A7F #DB6B9F #E79CBF

Accessibility & contrast

On white

4.60
#CF3A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CF3A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3A7F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A7F#FFFFFF#000000##FFFFFF
##CF3A7F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#E02958
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf3a7f;
/* rgb */ color: rgb(207, 58, 127);
/* oklch */ color: oklch(58.8% 0.194 356.7);
Tailwind
colors: {
  custom: {
    50: '#e37ca4',
    500: '#cf3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a7f;
$custom-light: #e37ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a7f",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 332.215,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.19379,
    "h": 356.7
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#CF3A7F
secondary
#92D3B5
accent
#E49A44
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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