Magenta (survey)#C20078

#C20078 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.4% C 0.221 H 352.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Magenta (survey) — editorial page

Color values

HEX#C20078
RGBrgb(194, 0, 120)
HSLhsl(323, 100%, 38%)
HSVhsv(323, 100%, 76%)
CMYKcmyk(0%, 100%, 38.1%, 23.9%)
CIE-LABlab(42.50, 70.90, -10.68)
CIE-LCHlch(42.50, 71.70, 351.43°)
OKLaboklab(53.37% 0.2188 -0.0274)
OKLCHoklch(53.37% 0.221 352.9)
XYZxyz(25.6402, 12.8289, 18.8917)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C20078 #00C24A
analogous
#AB00C2 #C20078 #C20017
triadic
#C20078 #78C200 #0078C2
tetradic
#C20078 #C2AB00 #00C24A #0017C2
square
#C20078 #C2AB00 #00C24A #0017C2
split-complementary
#C20078 #17C200 #00C2AB
monochromatic
#48002C #850052 #C20078 #FF009E #FF3DB5

Accessibility & contrast

On white

5.89
#C20078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#C20078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C20078
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C20078#FFFFFF#000000##FFFFFF
##C200781.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#6E6F74
Tritanopia (blue-blind)
#D20045
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c20078;
/* rgb */ color: rgb(194, 0, 120);
/* oklch */ color: oklch(53.4% 0.221 352.9);
Tailwind
colors: {
  custom: {
    50: '#da6a9f',
    500: '#c20078',
    950: '#000000',
  },
}
SCSS
$custom: #c20078;
$custom-light: #da6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#c20078",
  "rgb": {
    "r": 194,
    "g": 0,
    "b": 120
  },
  "hsl": {
    "h": 322.887,
    "s": 100,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.22055,
    "h": 352.9
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#C20078
secondary
#40DD7C
accent
#FF7B29
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16080E
muted
#847B7E

Preview Lab

Preview with #C20078

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

Preview Lab → · Contrast checker → · Palette generator →

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