#C74FA1#C74FA1

#C74FA1 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.178 H 341.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C74FA1
RGBrgb(199, 79, 161)
HSLhsl(319, 52%, 55%)
HSVhsv(319, 60%, 78%)
CMYKcmyk(0%, 60.3%, 19.1%, 22%)
CIE-LABlab(52.19, 56.74, -20.61)
CIE-LCHlch(52.19, 60.37, 340.04°)
OKLaboklab(61.11% 0.1691 -0.0551)
OKLCHoklch(61.11% 0.178 341.9)
XYZxyz(32.7830, 20.3102, 35.9050)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FA1 #4FC775
analogous
#B14FC7 #C74FA1 #C74F65
triadic
#C74FA1 #A1C74F #4FA1C7
tetradic
#C74FA1 #C7B14F #4FC775 #4F65C7
square
#C74FA1 #C7B14F #4FC775 #4F65C7
split-complementary
#C74FA1 #65C74F #4FC7B1
monochromatic
#76265D #A43481 #C74FA1 #D67DBA #E5ACD3

Accessibility & contrast

On white

4.15
#C74FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C74FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FA1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FA1#FFFFFF#000000##000000
##C74FA11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#7A849E
Tritanopia (blue-blind)
#D25071
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74fa1;
/* rgb */ color: rgb(199, 79, 161);
/* oklch */ color: oklch(61.1% 0.178 341.9);
Tailwind
colors: {
  custom: {
    50: '#db87bd',
    500: '#c74fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c74fa1;
$custom-light: #db87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fa1",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 319,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.17789,
    "h": 341.9
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#C74FA1
secondary
#A0D2B0
accent
#DB7A4D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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