#C74FB3#C74FB3

#C74FB3 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.191 H 334.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C74FB3
RGBrgb(199, 79, 179)
HSLhsl(310, 52%, 55%)
HSVhsv(310, 60%, 78%)
CMYKcmyk(0%, 60.3%, 10.1%, 22%)
CIE-LABlab(52.94, 59.46, -29.97)
CIE-LCHlch(52.94, 66.59, 333.25°)
OKLaboklab(61.91% 0.1725 -0.0816)
OKLCHoklch(61.91% 0.191 334.7)
XYZxyz(34.4861, 20.9914, 44.8745)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FB3 #4FC763
analogous
#9F4FC7 #C74FB3 #C74F77
triadic
#C74FB3 #B3C74F #4FB3C7
tetradic
#C74FB3 #C79F4F #4FC763 #4F77C7
square
#C74FB3 #C79F4F #4FC763 #4F77C7
split-complementary
#C74FB3 #77C74F #4FC79F
monochromatic
#762669 #A43492 #C74FB3 #D67DC7 #E5ACDB

Accessibility & contrast

On white

4.04
#C74FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C74FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FB3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FB3#FFFFFF#000000##000000
##C74FB31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#D0577A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74fb3;
/* rgb */ color: rgb(199, 79, 179);
/* oklch */ color: oklch(61.9% 0.191 334.7);
Tailwind
colors: {
  custom: {
    50: '#db87ca',
    500: '#c74fb3',
    950: '#000000',
  },
}
SCSS
$custom: #c74fb3;
$custom-light: #db87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fb3",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 310,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6191,
    "c": 0.19078,
    "h": 334.7
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#C74FB3
secondary
#A0D2A8
accent
#DB644D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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