#CF4D7E#CF4D7E

#CF4D7E is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 0.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CF4D7E
RGBrgb(207, 77, 126)
HSLhsl(337, 58%, 56%)
HSVhsv(337, 63%, 81%)
CMYKcmyk(0%, 62.8%, 39.1%, 18.8%)
CIE-LABlab(51.93, 55.59, -0.09)
CIE-LCHlch(51.93, 55.59, 359.91°)
OKLaboklab(60.77% 0.1699 0.0004)
OKLCHoklch(60.77% 0.17 0.1)
XYZxyz(32.1539, 20.0832, 21.9178)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D7E #4DCF9E
analogous
#CF4DBF #CF4D7E #CF5D4D
triadic
#CF4D7E #7ECF4D #4D7ECF
tetradic
#CF4D7E #BFCF4D #4DCF9E #5D4DCF
square
#CF4D7E #BFCF4D #4DCF9E #5D4DCF
split-complementary
#CF4D7E #4DCF5D #4DBFCF
monochromatic
#7F2245 #AF2F60 #CF4D7E #DC7DA1 #E9ADC4

Accessibility & contrast

On white

4.19
#CF4D7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CF4D7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D7E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D7E#FFFFFF#000000##000000
##CF4D7E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#DF4060
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d7e;
/* rgb */ color: rgb(207, 77, 126);
/* oklch */ color: oklch(60.8% 0.170 0.1);
Tailwind
colors: {
  custom: {
    50: '#e286a3',
    500: '#cf4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d7e;
$custom-light: #e286a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d7e",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 337.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.16985,
    "h": 0.1
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#CF4D7E
secondary
#A1D7C3
accent
#E1A747
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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