#C74FB2#C74FB2

#C74FB2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.190 H 335.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C74FB2
RGBrgb(199, 79, 178)
HSLhsl(311, 52%, 55%)
HSVhsv(311, 60%, 78%)
CMYKcmyk(0%, 60.3%, 10.6%, 22%)
CIE-LABlab(52.90, 59.31, -29.46)
CIE-LCHlch(52.90, 66.22, 333.58°)
OKLaboklab(61.86% 0.1723 -0.0801)
OKLCHoklch(61.86% 0.19 335.1)
XYZxyz(34.3853, 20.9511, 44.3438)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FB2 #4FC764
analogous
#A04FC7 #C74FB2 #C74F76
triadic
#C74FB2 #B2C74F #4FB2C7
tetradic
#C74FB2 #C7A04F #4FC764 #4F76C7
square
#C74FB2 #C7A04F #4FC764 #4F76C7
split-complementary
#C74FB2 #76C74F #4FC7A0
monochromatic
#762668 #A43491 #C74FB2 #D67DC6 #E5ACDB

Accessibility & contrast

On white

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

On black

5.19
#C74FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FB2#FFFFFF#000000##000000
##C74FB21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#D05679
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74fb2;
/* rgb */ color: rgb(199, 79, 178);
/* oklch */ color: oklch(61.9% 0.190 335.1);
Tailwind
colors: {
  custom: {
    50: '#db87c9',
    500: '#c74fb2',
    950: '#000000',
  },
}
SCSS
$custom: #c74fb2;
$custom-light: #db87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fb2",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 310.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61863,
    "c": 0.19003,
    "h": 335.1
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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