#C74CA8#C74CA8

#C74CA8 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.187 H 338.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C74CA8
RGBrgb(199, 76, 168)
HSLhsl(315, 52%, 54%)
HSVhsv(315, 62%, 78%)
CMYKcmyk(0%, 61.8%, 15.6%, 22%)
CIE-LABlab(52.00, 59.06, -25.02)
CIE-LCHlch(52.00, 64.14, 337.05°)
OKLaboklab(61.06% 0.1744 -0.0675)
OKLCHoklch(61.06% 0.187 338.8)
XYZxyz(33.2061, 20.1410, 39.1769)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CA8 #4CC76B
analogous
#A94CC7 #C74CA8 #C74C6B
triadic
#C74CA8 #A8C74C #4CA8C7
tetradic
#C74CA8 #C7A94C #4CC76B #4C6BC7
square
#C74CA8 #C7A94C #4CC76B #4C6BC7
split-complementary
#C74CA8 #6BC74C #4CC7A9
monochromatic
#742460 #A33387 #C74CA8 #D67BBF #E4A9D5

Accessibility & contrast

On white

4.18
#C74CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C74CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CA8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CA8#FFFFFF#000000##000000
##C74CA81.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#D25073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ca8;
/* rgb */ color: rgb(199, 76, 168);
/* oklch */ color: oklch(61.1% 0.187 338.8);
Tailwind
colors: {
  custom: {
    50: '#db85c2',
    500: '#c74ca8',
    950: '#000000',
  },
}
SCSS
$custom: #c74ca8;
$custom-light: #db85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ca8",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 315.122,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.18702,
    "h": 338.8
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#C74CA8
secondary
#9DD2AA
accent
#DC704C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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