#C74FA7#C74FA7

#C74FA7 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.182 H 339.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C74FA7
RGBrgb(199, 79, 167)
HSLhsl(316, 52%, 55%)
HSVhsv(316, 60%, 78%)
CMYKcmyk(0%, 60.3%, 16.1%, 22%)
CIE-LABlab(52.43, 57.62, -23.76)
CIE-LCHlch(52.43, 62.33, 337.59°)
OKLaboklab(61.37% 0.1704 -0.064)
OKLCHoklch(61.37% 0.182 339.4)
XYZxyz(33.3248, 20.5269, 38.7587)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA7 #4FC76F
analogous
#AB4FC7 #C74FA7 #C74F6B
triadic
#C74FA7 #A7C74F #4FA7C7
tetradic
#C74FA7 #C7AB4F #4FC76F #4F6BC7
square
#C74FA7 #C7AB4F #4FC76F #4F6BC7
split-complementary
#C74FA7 #6BC74F #4FC7AB
monochromatic
#762661 #A43487 #C74FA7 #D67DBE #E5ACD5

Accessibility & contrast

On white

4.11
#C74FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C74FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA7#FFFFFF#000000##000000
##C74FA71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D25274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa7;
/* rgb */ color: rgb(199, 79, 167);
/* oklch */ color: oklch(61.4% 0.182 339.4);
Tailwind
colors: {
  custom: {
    50: '#db87c1',
    500: '#c74fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa7;
$custom-light: #db87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa7",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 316,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.18199,
    "h": 339.4
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

primary
#C74FA7
secondary
#A0D2AD
accent
#DB734D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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