#CF4C7F#CF4C7F

#CF4C7F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.172 H 359.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CF4C7F
RGBrgb(207, 76, 127)
HSLhsl(337, 58%, 55%)
HSVhsv(337, 63%, 81%)
CMYKcmyk(0%, 63.3%, 38.6%, 18.8%)
CIE-LABlab(51.80, 56.12, -0.88)
CIE-LCHlch(51.80, 56.13, 359.11°)
OKLaboklab(60.69% 0.1715 -0.0016)
OKLCHoklch(60.69% 0.172 359.5)
XYZxyz(32.1494, 19.9703, 22.2362)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C7F #4CCF9C
analogous
#CF4CC0 #CF4C7F #CF5A4C
triadic
#CF4C7F #7FCF4C #4C7FCF
tetradic
#CF4C7F #C0CF4C #4CCF9C #5A4CCF
square
#CF4C7F #C0CF4C #4CCF9C #5A4CCF
split-complementary
#CF4C7F #4CCF5A #4CC0CF
monochromatic
#7F2246 #AF2F61 #CF4C7F #DC7CA2 #E9ADC4

Accessibility & contrast

On white

4.21
#CF4C7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CF4C7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C7F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C7F#FFFFFF#000000##000000
##CF4C7F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#DF3F60
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c7f;
/* rgb */ color: rgb(207, 76, 127);
/* oklch */ color: oklch(60.7% 0.172 359.5);
Tailwind
colors: {
  custom: {
    50: '#e285a4',
    500: '#cf4c7f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c7f;
$custom-light: #e285a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c7f",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 127
  },
  "hsl": {
    "h": 336.641,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.17154,
    "h": 359.5
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#CF4C7F
secondary
#A0D7C1
accent
#E1A547
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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