#C74EA9#C74EA9

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

Color values

HEX#C74EA9
RGBrgb(199, 78, 169)
HSLhsl(315, 52%, 54%)
HSVhsv(315, 61%, 78%)
CMYKcmyk(0%, 60.8%, 15.1%, 22%)
CIE-LABlab(52.35, 58.36, -25.05)
CIE-LCHlch(52.35, 63.51, 336.77°)
OKLaboklab(61.34% 0.172 -0.0676)
OKLCHoklch(61.34% 0.185 338.5)
XYZxyz(33.4396, 20.4583, 39.7161)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EA9 #4EC76C
analogous
#A94EC7 #C74EA9 #C74E6D
triadic
#C74EA9 #A9C74E #4EA9C7
tetradic
#C74EA9 #C7A94E #4EC76C #4E6DC7
square
#C74EA9 #C7A94E #4EC76C #4E6DC7
split-complementary
#C74EA9 #6DC74E #4EC7A9
monochromatic
#752562 #A43488 #C74EA9 #D67CC0 #E4ABD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74EA9#FFFFFF#000000##000000
##C74EA91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AC
Deuteranopia (green-blind)
#7784A6
Tritanopia (blue-blind)
#D15274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74ea9;
/* rgb */ color: rgb(199, 78, 169);
/* oklch */ color: oklch(61.3% 0.185 338.5);
Tailwind
colors: {
  custom: {
    50: '#db86c2',
    500: '#c74ea9',
    950: '#000000',
  },
}
SCSS
$custom: #c74ea9;
$custom-light: #db86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ea9",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 314.876,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.18485,
    "h": 338.5
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#C74EA9
secondary
#9FD2AB
accent
#DB704C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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