#C74FA5#C74FA5

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

Color values

HEX#C74FA5
RGBrgb(199, 79, 165)
HSLhsl(317, 52%, 55%)
HSVhsv(317, 60%, 78%)
CMYKcmyk(0%, 60.3%, 17.1%, 22%)
CIE-LABlab(52.35, 57.33, -22.72)
CIE-LCHlch(52.35, 61.66, 338.38°)
OKLaboklab(61.28% 0.17 -0.061)
OKLCHoklch(61.28% 0.181 340.2)
XYZxyz(33.1414, 20.4535, 37.7925)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA5 #4FC771
analogous
#AD4FC7 #C74FA5 #C74F69
triadic
#C74FA5 #A5C74F #4FA5C7
tetradic
#C74FA5 #C7AD4F #4FC771 #4F69C7
square
#C74FA5 #C7AD4F #4FC771 #4F69C7
split-complementary
#C74FA5 #69C74F #4FC7AD
monochromatic
#76265F #A43485 #C74FA5 #D67DBD #E5ACD4

Accessibility & contrast

On white

4.13
#C74FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C74FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA5#FFFFFF#000000##000000
##C74FA51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D25273
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa5;
/* rgb */ color: rgb(199, 79, 165);
/* oklch */ color: oklch(61.3% 0.181 340.2);
Tailwind
colors: {
  custom: {
    50: '#db87c0',
    500: '#c74fa5',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa5;
$custom-light: #db87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa5",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 317,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.18059,
    "h": 340.2
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#C74FA5
secondary
#A0D2AE
accent
#DB754D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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