#C74EA2#C74EA2

#C74EA2 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.180 H 341.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C74EA2
RGBrgb(199, 78, 162)
HSLhsl(318, 52%, 54%)
HSVhsv(318, 61%, 78%)
CMYKcmyk(0%, 60.8%, 18.6%, 22%)
CIE-LABlab(52.07, 57.33, -21.39)
CIE-LCHlch(52.07, 61.18, 339.54°)
OKLaboklab(61.03% 0.1707 -0.0573)
OKLCHoklch(61.03% 0.18 341.4)
XYZxyz(32.7999, 20.2024, 36.3474)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EA2 #4EC773
analogous
#B04EC7 #C74EA2 #C74E66
triadic
#C74EA2 #A2C74E #4EA2C7
tetradic
#C74EA2 #C7B04E #4EC773 #4E66C7
square
#C74EA2 #C7B04E #4EC773 #4E66C7
split-complementary
#C74EA2 #66C74E #4EC7B0
monochromatic
#75255D #A43482 #C74EA2 #D67CBA #E4ABD3

Accessibility & contrast

On white

4.17
#C74EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C74EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EA2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EA2#FFFFFF#000000##000000
##C74EA21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#7A839F
Tritanopia (blue-blind)
#D25071
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ea2;
/* rgb */ color: rgb(199, 78, 162);
/* oklch */ color: oklch(61.0% 0.180 341.4);
Tailwind
colors: {
  custom: {
    50: '#db86bd',
    500: '#c74ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c74ea2;
$custom-light: #db86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ea2",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 318.347,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.18001,
    "h": 341.4
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#C74EA2
secondary
#9FD2AE
accent
#DB784C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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