#C74FB1#C74FB1

#C74FB1 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.189 H 335.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C74FB1
RGBrgb(199, 79, 177)
HSLhsl(311, 52%, 55%)
HSVhsv(311, 60%, 78%)
CMYKcmyk(0%, 60.3%, 11.1%, 22%)
CIE-LABlab(52.85, 59.15, -28.95)
CIE-LCHlch(52.85, 65.85, 333.92°)
OKLaboklab(61.82% 0.1722 -0.0787)
OKLCHoklch(61.82% 0.189 335.4)
XYZxyz(34.2853, 20.9111, 43.8169)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FB1 #4FC765
analogous
#A14FC7 #C74FB1 #C74F75
triadic
#C74FB1 #B1C74F #4FB1C7
tetradic
#C74FB1 #C7A14F #4FC765 #4F75C7
square
#C74FB1 #C7A14F #4FC765 #4F75C7
split-complementary
#C74FB1 #75C74F #4FC7A1
monochromatic
#762667 #A43490 #C74FB1 #D67DC6 #E5ACDA

Accessibility & contrast

On white

4.05
#C74FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C74FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FB1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FB1#FFFFFF#000000##000000
##C74FB11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#D05679
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74fb1;
/* rgb */ color: rgb(199, 79, 177);
/* oklch */ color: oklch(61.8% 0.189 335.4);
Tailwind
colors: {
  custom: {
    50: '#db87c8',
    500: '#c74fb1',
    950: '#000000',
  },
}
SCSS
$custom: #c74fb1;
$custom-light: #db87c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fb1",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 311,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.18927,
    "h": 335.4
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#C74FB1
secondary
#A0D2A9
accent
#DB674D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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