#CF4878#CF4878

#CF4878 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.175 H 2.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CF4878
RGBrgb(207, 72, 120)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 65%, 81%)
CMYKcmyk(0%, 65.2%, 42%, 18.8%)
CIE-LABlab(50.99, 57.05, 2.14)
CIE-LCHlch(50.99, 57.09, 2.15°)
OKLaboklab(60.02% 0.1744 0.0062)
OKLCHoklch(60.02% 0.175 2)
XYZxyz(31.4418, 19.2600, 19.8274)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4878 #48CF9F
analogous
#CF48BB #CF4878 #CF5C48
triadic
#CF4878 #78CF48 #4878CF
tetradic
#CF4878 #BBCF48 #48CF9F #5C48CF
square
#CF4878 #BBCF48 #48CF9F #5C48CF
split-complementary
#CF4878 #48CF5C #48BBCF
monochromatic
#7C2141 #AD2D5B #CF4878 #DC789C #E8A9C0

Accessibility & contrast

On white

4.33
#CF4878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CF4878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4878
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4878#FFFFFF#000000##000000
##CF48781.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#E0385B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4878;
/* rgb */ color: rgb(207, 72, 120);
/* oklch */ color: oklch(60.0% 0.175 2.0);
Tailwind
colors: {
  custom: {
    50: '#e3839e',
    500: '#cf4878',
    950: '#000000',
  },
}
SCSS
$custom: #cf4878;
$custom-light: #e3839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4878",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 338.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.17452,
    "h": 2
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#CF4878
secondary
#9DD6C2
accent
#E2AA46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4878

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

Preview Lab → · Contrast checker → · Palette generator →

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