#CF4E7D#CF4E7D

#CF4E7D is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.168 H 0.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF4E7D
RGBrgb(207, 78, 125)
HSLhsl(338, 57%, 56%)
HSVhsv(338, 62%, 81%)
CMYKcmyk(0%, 62.3%, 39.6%, 18.8%)
CIE-LABlab(52.06, 55.05, 0.70)
CIE-LCHlch(52.06, 55.05, 0.73°)
OKLaboklab(60.86% 0.1682 0.0025)
OKLCHoklch(60.86% 0.168 0.8)
XYZxyz(32.1602, 20.1985, 21.6031)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E7D #4ECFA0
analogous
#CF4EBD #CF4E7D #CF5F4E
triadic
#CF4E7D #7DCF4E #4E7DCF
tetradic
#CF4E7D #BDCF4E #4ECFA0 #5F4ECF
square
#CF4E7D #BDCF4E #4ECFA0 #5F4ECF
split-complementary
#CF4E7D #4ECF5F #4EBDCF
monochromatic
#802345 #B0305E #CF4E7D #DC7EA0 #E9AEC4

Accessibility & contrast

On white

4.17
#CF4E7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF4E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E7D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E7D#FFFFFF#000000##000000
##CF4E7D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DF4160
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e7d;
/* rgb */ color: rgb(207, 78, 125);
/* oklch */ color: oklch(60.9% 0.168 0.8);
Tailwind
colors: {
  custom: {
    50: '#e286a2',
    500: '#cf4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e7d;
$custom-light: #e286a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e7d",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 338.14,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.16818,
    "h": 0.8
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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