#C74BA3#C74BA3

#C74BA3 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.185 H 340.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C74BA3
RGBrgb(199, 75, 163)
HSLhsl(317, 53%, 54%)
HSVhsv(317, 62%, 78%)
CMYKcmyk(0%, 62.3%, 18.1%, 22%)
CIE-LABlab(51.63, 58.76, -22.64)
CIE-LCHlch(51.63, 62.97, 338.93°)
OKLaboklab(60.73% 0.1747 -0.0608)
OKLCHoklch(60.73% 0.185 340.8)
XYZxyz(32.6809, 19.8215, 36.7480)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BA3 #4BC76F
analogous
#AD4BC7 #C74BA3 #C74B65
triadic
#C74BA3 #A3C74B #4BA3C7
tetradic
#C74BA3 #C7AD4B #4BC76F #4B65C7
square
#C74BA3 #C7AD4B #4BC76F #4B65C7
split-complementary
#C74BA3 #65C74B #4BC7AD
monochromatic
#74245D #A23282 #C74BA3 #D67ABB #E4A8D3

Accessibility & contrast

On white

4.23
#C74BA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C74BA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BA3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BA3#FFFFFF#000000##000000
##C74BA31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA6
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#D24D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74ba3;
/* rgb */ color: rgb(199, 75, 163);
/* oklch */ color: oklch(60.7% 0.185 340.8);
Tailwind
colors: {
  custom: {
    50: '#db85be',
    500: '#c74ba3',
    950: '#000000',
  },
}
SCSS
$custom: #c74ba3;
$custom-light: #db85be;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ba3",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 317.419,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.185,
    "h": 340.8
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#C74BA3
secondary
#9CD1AC
accent
#DC764C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C74BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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