#CF4A78#CF4A78

#CF4A78 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.172 H 2.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CF4A78
RGBrgb(207, 74, 120)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 64%, 81%)
CMYKcmyk(0%, 64.3%, 42%, 18.8%)
CIE-LABlab(51.29, 56.23, 2.58)
CIE-LCHlch(51.29, 56.28, 2.63°)
OKLaboklab(60.24% 0.1718 0.0073)
OKLCHoklch(60.24% 0.172 2.4)
XYZxyz(31.5733, 19.5228, 19.8712)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A78 #4ACFA1
analogous
#CF4ABB #CF4A78 #CF5E4A
triadic
#CF4A78 #78CF4A #4A78CF
tetradic
#CF4A78 #BBCF4A #4ACFA1 #5E4ACF
square
#CF4A78 #BBCF4A #4ACFA1 #5E4ACF
split-complementary
#CF4A78 #4ACF5E #4ABBCF
monochromatic
#7D2141 #AE2E5A #CF4A78 #DC7A9C #E9ABC0

Accessibility & contrast

On white

4.28
#CF4A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CF4A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A78
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A78#FFFFFF#000000##000000
##CF4A781.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#E03A5C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4a78;
/* rgb */ color: rgb(207, 74, 120);
/* oklch */ color: oklch(60.2% 0.172 2.4);
Tailwind
colors: {
  custom: {
    50: '#e2849e',
    500: '#cf4a78',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a78;
$custom-light: #e2849e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a78",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 339.248,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.17195,
    "h": 2.4
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#CF4A78
secondary
#9FD6C3
accent
#E1AC46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4A78

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

Preview Lab → · Contrast checker → · Palette generator →

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