#C74FA9#C74FA9

#C74FA9 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.183 H 338.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C74FA9
RGBrgb(199, 79, 169)
HSLhsl(315, 52%, 55%)
HSVhsv(315, 60%, 78%)
CMYKcmyk(0%, 60.3%, 15.1%, 22%)
CIE-LABlab(52.51, 57.92, -24.81)
CIE-LCHlch(52.51, 63.01, 336.82°)
OKLaboklab(61.45% 0.1708 -0.0669)
OKLCHoklch(61.45% 0.183 338.6)
XYZxyz(33.5112, 20.6014, 39.7400)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA9 #4FC76D
analogous
#A94FC7 #C74FA9 #C74F6D
triadic
#C74FA9 #A9C74F #4FA9C7
tetradic
#C74FA9 #C7A94F #4FC76D #4F6DC7
square
#C74FA9 #C7A94F #4FC76D #4F6DC7
split-complementary
#C74FA9 #6DC74F #4FC7A9
monochromatic
#762662 #A43488 #C74FA9 #D67DC0 #E5ACD6

Accessibility & contrast

On white

4.10
#C74FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C74FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA9#FFFFFF#000000##000000
##C74FA91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AC
Deuteranopia (green-blind)
#7884A6
Tritanopia (blue-blind)
#D15375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa9;
/* rgb */ color: rgb(199, 79, 169);
/* oklch */ color: oklch(61.5% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#db87c2',
    500: '#c74fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa9;
$custom-light: #db87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa9",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 315,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.1834,
    "h": 338.6
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#C74FA9
secondary
#A0D2AC
accent
#DB704D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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