#C74FAC#C74FAC

#C74FAC is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.186 H 337.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C74FAC
RGBrgb(199, 79, 172)
HSLhsl(314, 52%, 55%)
HSVhsv(314, 60%, 78%)
CMYKcmyk(0%, 60.3%, 13.6%, 22%)
CIE-LABlab(52.64, 58.38, -26.37)
CIE-LCHlch(52.64, 64.06, 335.69°)
OKLaboklab(61.59% 0.1713 -0.0713)
OKLCHoklch(61.59% 0.186 337.4)
XYZxyz(33.7960, 20.7154, 41.2402)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FAC #4FC76A
analogous
#A64FC7 #C74FAC #C74F70
triadic
#C74FAC #ACC74F #4FACC7
tetradic
#C74FAC #C7A64F #4FC76A #4F70C7
square
#C74FAC #C7A64F #4FC76A #4F70C7
split-complementary
#C74FAC #70C74F #4FC7A6
monochromatic
#762664 #A4348B #C74FAC #D67DC2 #E5ACD8

Accessibility & contrast

On white

4.08
#C74FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C74FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FAC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FAC#FFFFFF#000000##000000
##C74FAC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7784A9
Tritanopia (blue-blind)
#D15476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74fac;
/* rgb */ color: rgb(199, 79, 172);
/* oklch */ color: oklch(61.6% 0.186 337.4);
Tailwind
colors: {
  custom: {
    50: '#db87c5',
    500: '#c74fac',
    950: '#000000',
  },
}
SCSS
$custom: #c74fac;
$custom-light: #db87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fac",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 313.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.18556,
    "h": 337.4
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#C74FAC
secondary
#A0D2AB
accent
#DB6D4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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