#CF4F78#CF4F78

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

Color values

HEX#CF4F78
RGBrgb(207, 79, 120)
HSLhsl(341, 57%, 56%)
HSVhsv(341, 62%, 81%)
CMYKcmyk(0%, 61.8%, 42%, 18.8%)
CIE-LABlab(52.08, 54.09, 3.72)
CIE-LCHlch(52.08, 54.22, 3.93°)
OKLaboklab(60.83% 0.1651 0.0102)
OKLCHoklch(60.83% 0.165 3.5)
XYZxyz(31.9204, 20.2171, 19.9870)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F78 #4FCFA6
analogous
#CF4FB8 #CF4F78 #CF664F
triadic
#CF4F78 #78CF4F #4F78CF
tetradic
#CF4F78 #B8CF4F #4FCFA6 #664FCF
square
#CF4F78 #B8CF4F #4FCFA6 #664FCF
split-complementary
#CF4F78 #4FCF66 #4FB8CF
monochromatic
#812341 #B13059 #CF4F78 #DC7F9D #E9AFC2

Accessibility & contrast

On white

4.16
#CF4F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4F78#FFFFFF#000000##000000
##CF4F781.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D79
Deuteranopia (green-blind)
#8A8575
Tritanopia (blue-blind)
#E0405F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4f78;
/* rgb */ color: rgb(207, 79, 120);
/* oklch */ color: oklch(60.8% 0.165 3.5);
Tailwind
colors: {
  custom: {
    50: '#e2879e',
    500: '#cf4f78',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f78;
$custom-light: #e2879e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f78",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 340.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.16537,
    "h": 3.5
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#CF4F78
secondary
#A2D7C6
accent
#E0AF47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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