#CF4C7C#CF4C7C

#CF4C7C is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.171 H 0.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF4C7C
RGBrgb(207, 76, 124)
HSLhsl(338, 58%, 55%)
HSVhsv(338, 63%, 81%)
CMYKcmyk(0%, 63.3%, 40.1%, 18.8%)
CIE-LABlab(51.72, 55.80, 0.79)
CIE-LCHlch(51.72, 55.80, 0.81°)
OKLaboklab(60.6% 0.1705 0.0027)
OKLCHoklch(60.6% 0.171 0.9)
XYZxyz(31.9567, 19.8932, 21.2218)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C7C #4CCF9F
analogous
#CF4CBE #CF4C7C #CF5D4C
triadic
#CF4C7C #7CCF4C #4C7CCF
tetradic
#CF4C7C #BECF4C #4CCF9F #5D4CCF
square
#CF4C7C #BECF4C #4CCF9F #5D4CCF
split-complementary
#CF4C7C #4CCF5D #4CBECF
monochromatic
#7F2244 #AF2F5E #CF4C7C #DC7C9F #E9ADC3

Accessibility & contrast

On white

4.22
#CF4C7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF4C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C7C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C7C#FFFFFF#000000##000000
##CF4C7C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7D
Deuteranopia (green-blind)
#888579
Tritanopia (blue-blind)
#E03E5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c7c;
/* rgb */ color: rgb(207, 76, 124);
/* oklch */ color: oklch(60.6% 0.171 0.9);
Tailwind
colors: {
  custom: {
    50: '#e285a1',
    500: '#cf4c7c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c7c;
$custom-light: #e285a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c7c",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 338.015,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.17054,
    "h": 0.9
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#CF4C7C
secondary
#A0D7C3
accent
#E1A847
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF4C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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