#C74DB2#C74DB2

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

Color values

HEX#C74DB2
RGBrgb(199, 77, 178)
HSLhsl(310, 52%, 54%)
HSVhsv(310, 61%, 78%)
CMYKcmyk(0%, 61.3%, 10.6%, 22%)
CIE-LABlab(52.58, 60.16, -29.95)
CIE-LCHlch(52.58, 67.21, 333.54°)
OKLaboklab(61.63% 0.1748 -0.0815)
OKLCHoklch(61.63% 0.193 335)
XYZxyz(34.2432, 20.6669, 44.2964)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DB2 #4DC762
analogous
#9F4DC7 #C74DB2 #C74D75
triadic
#C74DB2 #B2C74D #4DB2C7
tetradic
#C74DB2 #C79F4D #4DC762 #4D75C7
square
#C74DB2 #C79F4D #4DC762 #4D75C7
split-complementary
#C74DB2 #75C74D #4DC79F
monochromatic
#752567 #A33390 #C74DB2 #D67CC6 #E4AADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74DB2#FFFFFF#000000##000000
##C74DB21.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)
#4D72B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D05578
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74db2;
/* rgb */ color: rgb(199, 77, 178);
/* oklch */ color: oklch(61.6% 0.193 335.0);
Tailwind
colors: {
  custom: {
    50: '#db86c9',
    500: '#c74db2',
    950: '#000000',
  },
}
SCSS
$custom: #c74db2;
$custom-light: #db86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74db2",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 310.328,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.19288,
    "h": 335
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#C74DB2
secondary
#9ED2A7
accent
#DC654C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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