#C74BB2#C74BB2

#C74BB2 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.196 H 335.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C74BB2
RGBrgb(199, 75, 178)
HSLhsl(310, 53%, 54%)
HSVhsv(310, 62%, 78%)
CMYKcmyk(0%, 62.3%, 10.6%, 22%)
CIE-LABlab(52.28, 61.01, -30.43)
CIE-LCHlch(52.28, 68.17, 333.49°)
OKLaboklab(61.41% 0.1773 -0.0828)
OKLCHoklch(61.41% 0.196 335)
XYZxyz(34.1054, 20.3913, 44.2505)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BB2 #4BC760
analogous
#9E4BC7 #C74BB2 #C74B74
triadic
#C74BB2 #B2C74B #4BB2C7
tetradic
#C74BB2 #C79E4B #4BC760 #4B74C7
square
#C74BB2 #C79E4B #4BC760 #4B74C7
split-complementary
#C74BB2 #74C74B #4BC79E
monochromatic
#742466 #A2328F #C74BB2 #D67AC6 #E4A8DA

Accessibility & contrast

On white

4.14
#C74BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C74BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BB2#FFFFFF#000000##000000
##C74BB21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#D05378
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74bb2;
/* rgb */ color: rgb(199, 75, 178);
/* oklch */ color: oklch(61.4% 0.196 335.0);
Tailwind
colors: {
  custom: {
    50: '#db85c9',
    500: '#c74bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c74bb2;
$custom-light: #db85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bb2",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 310.161,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.19569,
    "h": 335
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#C74BB2
secondary
#9CD1A5
accent
#DC644C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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