#CF4D7A#CF4D7A

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

Color values

HEX#CF4D7A
RGBrgb(207, 77, 122)
HSLhsl(339, 58%, 56%)
HSVhsv(339, 63%, 81%)
CMYKcmyk(0%, 62.8%, 41.1%, 18.8%)
CIE-LABlab(51.82, 55.16, 2.14)
CIE-LCHlch(51.82, 55.20, 2.22°)
OKLaboklab(60.65% 0.1685 0.0062)
OKLCHoklch(60.65% 0.169 2.1)
XYZxyz(31.9010, 19.9820, 20.5855)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D7A #4DCFA2
analogous
#CF4DBB #CF4D7A #CF614D
triadic
#CF4D7A #7ACF4D #4D7ACF
tetradic
#CF4D7A #BBCF4D #4DCFA2 #614DCF
square
#CF4D7A #BBCF4D #4DCFA2 #614DCF
split-complementary
#CF4D7A #4DCF61 #4DBBCF
monochromatic
#7F2242 #AF2F5C #CF4D7A #DC7D9E #E9ADC2

Accessibility & contrast

On white

4.20
#CF4D7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF4D7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D7A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D7A#FFFFFF#000000##000000
##CF4D7A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#E03E5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4d7a;
/* rgb */ color: rgb(207, 77, 122);
/* oklch */ color: oklch(60.7% 0.169 2.1);
Tailwind
colors: {
  custom: {
    50: '#e286a0',
    500: '#cf4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d7a;
$custom-light: #e286a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d7a",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 339.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.16859,
    "h": 2.1
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#CF4D7A
secondary
#A1D7C4
accent
#E1AC47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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