#CF3878#CF3878

#CF3878 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.193 H 359.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF3878
RGBrgb(207, 56, 120)
HSLhsl(335, 61%, 52%)
HSVhsv(335, 73%, 81%)
CMYKcmyk(0%, 72.9%, 42%, 18.8%)
CIE-LABlab(48.83, 63.03, -1.01)
CIE-LCHlch(48.83, 63.04, 359.08°)
OKLaboklab(58.42% 0.1934 -0.0019)
OKLCHoklch(58.42% 0.193 359.4)
XYZxyz(30.5387, 17.4537, 19.5264)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3878 #38CF8F
analogous
#CF38C3 #CF3878 #CF4438
triadic
#CF3878 #78CF38 #3878CF
tetradic
#CF3878 #C3CF38 #38CF8F #4438CF
square
#CF3878 #C3CF38 #38CF8F #4438CF
split-complementary
#CF3878 #38CF44 #38C3CF
monochromatic
#711B40 #A3275C #CF3878 #DB6999 #E79BBB

Accessibility & contrast

On white

4.68
#CF3878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CF3878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3878
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3878#FFFFFF#000000##FFFFFF
##CF38781.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627A
Deuteranopia (green-blind)
#817E75
Tritanopia (blue-blind)
#E02253
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf3878;
/* rgb */ color: rgb(207, 56, 120);
/* oklch */ color: oklch(58.4% 0.193 359.4);
Tailwind
colors: {
  custom: {
    50: '#e37b9e',
    500: '#cf3878',
    950: '#000000',
  },
}
SCSS
$custom: #cf3878;
$custom-light: #e37b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3878",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 334.57,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.19344,
    "h": 359.4
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#CF3878
secondary
#90D3B6
accent
#E4A044
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF3878

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

Preview Lab → · Contrast checker → · Palette generator →

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