#C74FA6#C74FA6

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

Color values

HEX#C74FA6
RGBrgb(199, 79, 166)
HSLhsl(317, 52%, 55%)
HSVhsv(317, 60%, 78%)
CMYKcmyk(0%, 60.3%, 16.6%, 22%)
CIE-LABlab(52.39, 57.48, -23.24)
CIE-LCHlch(52.39, 62.00, 337.98°)
OKLaboklab(61.32% 0.1702 -0.0625)
OKLCHoklch(61.32% 0.181 339.8)
XYZxyz(33.2328, 20.4901, 38.2737)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA6 #4FC770
analogous
#AC4FC7 #C74FA6 #C74F6A
triadic
#C74FA6 #A6C74F #4FA6C7
tetradic
#C74FA6 #C7AC4F #4FC770 #4F6AC7
square
#C74FA6 #C7AC4F #4FC770 #4F6AC7
split-complementary
#C74FA6 #6AC74F #4FC7AC
monochromatic
#762660 #A43486 #C74FA6 #D67DBD #E5ACD5

Accessibility & contrast

On white

4.12
#C74FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74FA6#FFFFFF#000000##000000
##C74FA61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#D25273
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa6;
/* rgb */ color: rgb(199, 79, 166);
/* oklch */ color: oklch(61.3% 0.181 339.8);
Tailwind
colors: {
  custom: {
    50: '#db87c0',
    500: '#c74fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa6;
$custom-light: #db87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa6",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 316.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.18129,
    "h": 339.8
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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