#C74FAB#C74FAB

#C74FAB is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.185 H 337.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C74FAB
RGBrgb(199, 79, 171)
HSLhsl(314, 52%, 55%)
HSVhsv(314, 60%, 78%)
CMYKcmyk(0%, 60.3%, 14.1%, 22%)
CIE-LABlab(52.59, 58.23, -25.85)
CIE-LCHlch(52.59, 63.70, 336.06°)
OKLaboklab(61.54% 0.1711 -0.0699)
OKLCHoklch(61.54% 0.185 337.8)
XYZxyz(33.7003, 20.6771, 40.7363)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FAB #4FC76B
analogous
#A74FC7 #C74FAB #C74F6F
triadic
#C74FAB #ABC74F #4FABC7
tetradic
#C74FAB #C7A74F #4FC76B #4F6FC7
square
#C74FAB #C7A74F #4FC76B #4F6FC7
split-complementary
#C74FAB #6FC74F #4FC7A7
monochromatic
#762663 #A4348A #C74FAB #D67DC1 #E5ACD7

Accessibility & contrast

On white

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

On black

5.13
#C74FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FAB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FAB#FFFFFF#000000##000000
##C74FAB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AE
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#D15476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74fab;
/* rgb */ color: rgb(199, 79, 171);
/* oklch */ color: oklch(61.5% 0.185 337.8);
Tailwind
colors: {
  custom: {
    50: '#db87c4',
    500: '#c74fab',
    950: '#000000',
  },
}
SCSS
$custom: #c74fab;
$custom-light: #db87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fab",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 314,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.18483,
    "h": 337.8
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#C74FAB
secondary
#A0D2AB
accent
#DB6E4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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