#C74AB2#C74AB2

#C74AB2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.197 H 334.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C74AB2
RGBrgb(199, 74, 178)
HSLhsl(310, 53%, 54%)
HSVhsv(310, 63%, 78%)
CMYKcmyk(0%, 62.8%, 10.6%, 22%)
CIE-LABlab(52.13, 61.42, -30.66)
CIE-LCHlch(52.13, 68.65, 333.47°)
OKLaboklab(61.3% 0.1785 -0.0835)
OKLCHoklch(61.3% 0.197 334.9)
XYZxyz(34.0381, 20.2567, 44.2281)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AB2 #4AC75F
analogous
#9D4AC7 #C74AB2 #C74A73
triadic
#C74AB2 #B2C74A #4AB2C7
tetradic
#C74AB2 #C79D4A #4AC75F #4A73C7
square
#C74AB2 #C79D4A #4AC75F #4A73C7
split-complementary
#C74AB2 #73C74A #4AC79D
monochromatic
#732466 #A2328F #C74AB2 #D579C6 #E4A7DA

Accessibility & contrast

On white

4.16
#C74AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C74AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74AB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74AB2#FFFFFF#000000##000000
##C74AB21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#D05277
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74ab2;
/* rgb */ color: rgb(199, 74, 178);
/* oklch */ color: oklch(61.3% 0.197 334.9);
Tailwind
colors: {
  custom: {
    50: '#db85c9',
    500: '#c74ab2',
    950: '#000000',
  },
}
SCSS
$custom: #c74ab2;
$custom-light: #db85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ab2",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 310.08,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.613,
    "c": 0.19708,
    "h": 334.9
  },
  "luminance": 0.20254
}

Semantic roles & 50–950 ramp

primary
#C74AB2
secondary
#9CD1A5
accent
#DC644C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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