#CF4C7A#CF4C7A

#CF4C7A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.170 H 1.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF4C7A
RGBrgb(207, 76, 122)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 63%, 81%)
CMYKcmyk(0%, 63.3%, 41.1%, 18.8%)
CIE-LABlab(51.66, 55.59, 1.91)
CIE-LCHlch(51.66, 55.62, 1.97°)
OKLaboklab(60.53% 0.1698 0.0056)
OKLCHoklch(60.53% 0.17 1.9)
XYZxyz(31.8315, 19.8431, 20.5624)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C7A #4CCFA1
analogous
#CF4CBC #CF4C7A #CF5F4C
triadic
#CF4C7A #7ACF4C #4C7ACF
tetradic
#CF4C7A #BCCF4C #4CCFA1 #5F4CCF
square
#CF4C7A #BCCF4C #4CCFA1 #5F4CCF
split-complementary
#CF4C7A #4CCF5F #4CBCCF
monochromatic
#7F2243 #AF2F5C #CF4C7A #DC7C9E #E9ADC2

Accessibility & contrast

On white

4.23
#CF4C7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF4C7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C7A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C7A#FFFFFF#000000##000000
##CF4C7A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7B
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#E03D5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c7a;
/* rgb */ color: rgb(207, 76, 122);
/* oklch */ color: oklch(60.5% 0.170 1.9);
Tailwind
colors: {
  custom: {
    50: '#e285a0',
    500: '#cf4c7a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c7a;
$custom-light: #e285a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c7a",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 122
  },
  "hsl": {
    "h": 338.931,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.16992,
    "h": 1.9
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#CF4C7A
secondary
#A0D7C4
accent
#E1AB47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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