#C74FA2#C74FA2

#C74FA2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.179 H 341.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C74FA2
RGBrgb(199, 79, 162)
HSLhsl(319, 52%, 55%)
HSVhsv(319, 60%, 78%)
CMYKcmyk(0%, 60.3%, 18.6%, 22%)
CIE-LABlab(52.23, 56.89, -21.14)
CIE-LCHlch(52.23, 60.69, 339.62°)
OKLaboklab(61.15% 0.1693 -0.0566)
OKLCHoklch(61.15% 0.179 341.5)
XYZxyz(32.8715, 20.3456, 36.3713)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA2 #4FC774
analogous
#B04FC7 #C74FA2 #C74F66
triadic
#C74FA2 #A2C74F #4FA2C7
tetradic
#C74FA2 #C7B04F #4FC774 #4F66C7
square
#C74FA2 #C7B04F #4FC774 #4F66C7
split-complementary
#C74FA2 #66C74F #4FC7B0
monochromatic
#76265D #A43482 #C74FA2 #D67DBB #E5ACD3

Accessibility & contrast

On white

4.14
#C74FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C74FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA2#FFFFFF#000000##000000
##C74FA21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#7A849F
Tritanopia (blue-blind)
#D25171
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fa2;
/* rgb */ color: rgb(199, 79, 162);
/* oklch */ color: oklch(61.2% 0.179 341.5);
Tailwind
colors: {
  custom: {
    50: '#db87bd',
    500: '#c74fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa2;
$custom-light: #db87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa2",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 318.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.17855,
    "h": 341.5
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#C74FA2
secondary
#A0D2AF
accent
#DB794D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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