#C74CAF#C74CAF

#C74CAF is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.192 H 336.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C74CAF
RGBrgb(199, 76, 175)
HSLhsl(312, 52%, 54%)
HSVhsv(312, 62%, 78%)
CMYKcmyk(0%, 61.8%, 12.1%, 22%)
CIE-LABlab(52.30, 60.12, -28.65)
CIE-LCHlch(52.30, 66.60, 334.52°)
OKLaboklab(61.38% 0.1756 -0.0778)
OKLCHoklch(61.38% 0.192 336.1)
XYZxyz(33.8759, 20.4089, 42.7043)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CAF #4CC764
analogous
#A24CC7 #C74CAF #C74C72
triadic
#C74CAF #AFC74C #4CAFC7
tetradic
#C74CAF #C7A24C #4CC764 #4C72C7
square
#C74CAF #C7A24C #4CC764 #4C72C7
split-complementary
#C74CAF #72C74C #4CC7A2
monochromatic
#742465 #A3338D #C74CAF #D67BC4 #E4A9D9

Accessibility & contrast

On white

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

On black

5.08
#C74CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CAF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CAF#FFFFFF#000000##000000
##C74CAF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#D15377
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74caf;
/* rgb */ color: rgb(199, 76, 175);
/* oklch */ color: oklch(61.4% 0.192 336.1);
Tailwind
colors: {
  custom: {
    50: '#db86c7',
    500: '#c74caf',
    950: '#000000',
  },
}
SCSS
$custom: #c74caf;
$custom-light: #db86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74caf",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 311.707,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61381,
    "c": 0.19206,
    "h": 336.1
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#C74CAF
secondary
#9DD2A7
accent
#DC684C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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