#CF4D7C#CF4D7C

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

Color values

HEX#CF4D7C
RGBrgb(207, 77, 124)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 63%, 81%)
CMYKcmyk(0%, 62.8%, 40.1%, 18.8%)
CIE-LABlab(51.87, 55.37, 1.02)
CIE-LCHlch(51.87, 55.38, 1.06°)
OKLaboklab(60.71% 0.1692 0.0033)
OKLCHoklch(60.71% 0.169 1.1)
XYZxyz(32.0262, 20.0321, 21.2449)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D7C #4DCFA0
analogous
#CF4DBD #CF4D7C #CF5F4D
triadic
#CF4D7C #7CCF4D #4D7CCF
tetradic
#CF4D7C #BDCF4D #4DCFA0 #5F4DCF
square
#CF4D7C #BDCF4D #4DCFA0 #5F4DCF
split-complementary
#CF4D7C #4DCF5F #4DBDCF
monochromatic
#7F2244 #AF2F5E #CF4D7C #DC7D9F #E9ADC3

Accessibility & contrast

On white

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

On black

5.01
#CF4D7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D7C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D7C#FFFFFF#000000##000000
##CF4D7C1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#888579
Tritanopia (blue-blind)
#E03F5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d7c;
/* rgb */ color: rgb(207, 77, 124);
/* oklch */ color: oklch(60.7% 0.169 1.1);
Tailwind
colors: {
  custom: {
    50: '#e286a1',
    500: '#cf4d7c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d7c;
$custom-light: #e286a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d7c",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 338.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.1692,
    "h": 1.1
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#CF4D7C
secondary
#A1D7C3
accent
#E1A947
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF4D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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