#CF4D7D#CF4D7D

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

Color values

HEX#CF4D7D
RGBrgb(207, 77, 125)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 63%, 81%)
CMYKcmyk(0%, 62.8%, 39.6%, 18.8%)
CIE-LABlab(51.90, 55.48, 0.47)
CIE-LCHlch(51.90, 55.48, 0.48°)
OKLaboklab(60.74% 0.1695 0.0019)
OKLCHoklch(60.74% 0.17 0.6)
XYZxyz(32.0897, 20.0575, 21.5796)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D7D #4DCF9F
analogous
#CF4DBE #CF4D7D #CF5E4D
triadic
#CF4D7D #7DCF4D #4D7DCF
tetradic
#CF4D7D #BECF4D #4DCF9F #5E4DCF
square
#CF4D7D #BECF4D #4DCF9F #5E4DCF
split-complementary
#CF4D7D #4DCF5E #4DBECF
monochromatic
#7F2245 #AF2F5F #CF4D7D #DC7DA0 #E9ADC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4D7D#FFFFFF#000000##000000
##CF4D7D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DF3F60
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d7d;
/* rgb */ color: rgb(207, 77, 125);
/* oklch */ color: oklch(60.7% 0.170 0.6);
Tailwind
colors: {
  custom: {
    50: '#e286a2',
    500: '#cf4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d7d;
$custom-light: #e286a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d7d",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 337.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.16952,
    "h": 0.6
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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