#C74EAF#C74EAF

#C74EAF is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.189 H 336.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C74EAF
RGBrgb(199, 78, 175)
HSLhsl(312, 52%, 54%)
HSVhsv(312, 61%, 78%)
CMYKcmyk(0%, 60.8%, 12.1%, 22%)
CIE-LABlab(52.61, 59.27, -28.16)
CIE-LCHlch(52.61, 65.62, 334.59°)
OKLaboklab(61.61% 0.1731 -0.0764)
OKLCHoklch(61.61% 0.189 336.2)
XYZxyz(34.0158, 20.6888, 42.7509)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EAF #4EC766
analogous
#A34EC7 #C74EAF #C74E73
triadic
#C74EAF #AFC74E #4EAFC7
tetradic
#C74EAF #C7A34E #4EC766 #4E73C7
square
#C74EAF #C7A34E #4EC766 #4E73C7
split-complementary
#C74EAF #73C74E #4EC7A3
monochromatic
#752566 #A4348E #C74EAF #D67CC4 #E4ABD9

Accessibility & contrast

On white

4.09
#C74EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C74EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EAF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EAF#FFFFFF#000000##000000
##C74EAF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#D15477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74eaf;
/* rgb */ color: rgb(199, 78, 175);
/* oklch */ color: oklch(61.6% 0.189 336.2);
Tailwind
colors: {
  custom: {
    50: '#db87c7',
    500: '#c74eaf',
    950: '#000000',
  },
}
SCSS
$custom: #c74eaf;
$custom-light: #db87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74eaf",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 311.901,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.18922,
    "h": 336.2
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#C74EAF
secondary
#9FD2A9
accent
#DB694C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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