#C74FB0#C74FB0

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

Color values

HEX#C74FB0
RGBrgb(199, 79, 176)
HSLhsl(312, 52%, 55%)
HSVhsv(312, 60%, 78%)
CMYKcmyk(0%, 60.3%, 11.6%, 22%)
CIE-LABlab(52.81, 58.99, -28.43)
CIE-LCHlch(52.81, 65.49, 334.27°)
OKLaboklab(61.77% 0.172 -0.0772)
OKLCHoklch(61.77% 0.189 335.8)
XYZxyz(34.1860, 20.8714, 43.2939)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FB0 #4FC766
analogous
#A24FC7 #C74FB0 #C74F74
triadic
#C74FB0 #B0C74F #4FB0C7
tetradic
#C74FB0 #C7A24F #4FC766 #4F74C7
square
#C74FB0 #C7A24F #4FC766 #4F74C7
split-complementary
#C74FB0 #74C74F #4FC7A2
monochromatic
#762667 #A4348F #C74FB0 #D67DC5 #E5ACDA

Accessibility & contrast

On white

4.06
#C74FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C74FB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FB0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FB0#FFFFFF#000000##000000
##C74FB01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B3
Deuteranopia (green-blind)
#7585AD
Tritanopia (blue-blind)
#D05678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74fb0;
/* rgb */ color: rgb(199, 79, 176);
/* oklch */ color: oklch(61.8% 0.189 335.8);
Tailwind
colors: {
  custom: {
    50: '#db87c8',
    500: '#c74fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c74fb0;
$custom-light: #db87c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fb0",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 311.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.18852,
    "h": 335.8
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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