#CF5078#CF5078

#CF5078 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.164 H 3.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF5078
RGBrgb(207, 80, 120)
HSLhsl(341, 57%, 56%)
HSVhsv(341, 61%, 81%)
CMYKcmyk(0%, 61.4%, 42%, 18.8%)
CIE-LABlab(52.24, 53.65, 3.95)
CIE-LCHlch(52.24, 53.80, 4.21°)
OKLaboklab(60.95% 0.1637 0.0108)
OKLCHoklch(60.95% 0.164 3.8)
XYZxyz(31.9931, 20.3625, 20.0112)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5078 #50CFA7
analogous
#CF50B8 #CF5078 #CF6850
triadic
#CF5078 #78CF50 #5078CF
tetradic
#CF5078 #B8CF50 #50CFA7 #6850CF
square
#CF5078 #B8CF50 #50CFA7 #6850CF
split-complementary
#CF5078 #50CF68 #50B8CF
monochromatic
#812341 #B13159 #CF5078 #DC809D #E9B0C2

Accessibility & contrast

On white

4.14
#CF5078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF5078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5078
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5078#FFFFFF#000000##000000
##CF50781.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D79
Deuteranopia (green-blind)
#8A8675
Tritanopia (blue-blind)
#E0415F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5078;
/* rgb */ color: rgb(207, 80, 120);
/* oklch */ color: oklch(61.0% 0.164 3.8);
Tailwind
colors: {
  custom: {
    50: '#e2879e',
    500: '#cf5078',
    950: '#000000',
  },
}
SCSS
$custom: #cf5078;
$custom-light: #e2879e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5078",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 341.102,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.16403,
    "h": 3.8
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#CF5078
secondary
#A3D8C7
accent
#E0B048
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5078

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

Preview Lab → · Contrast checker → · Palette generator →

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