#C74B7E#C74B7E

#C74B7E is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.3% C 0.165 H 357.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C74B7E
RGBrgb(199, 75, 126)
HSLhsl(335, 53%, 54%)
HSVhsv(335, 62%, 78%)
CMYKcmyk(0%, 62.3%, 36.7%, 22%)
CIE-LABlab(50.32, 53.97, -2.61)
CIE-LCHlch(50.32, 54.04, 357.23°)
OKLaboklab(59.32% 0.1649 -0.0062)
OKLCHoklch(59.32% 0.165 357.9)
XYZxyz(29.8369, 18.6839, 21.7697)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74B7E #4BC794
analogous
#C74BBC #C74B7E #C7564B
triadic
#C74B7E #7EC74B #4B7EC7
tetradic
#C74B7E #BCC74B #4BC794 #564BC7
square
#C74B7E #BCC74B #4BC794 #564BC7
split-complementary
#C74B7E #4BC756 #4BBCC7
monochromatic
#742445 #A23260 #C74B7E #D67A9F #E4A8C1

Accessibility & contrast

On white

4.43
#C74B7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C74B7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74B7E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74B7E#FFFFFF#000000##000000
##C74B7E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#82807B
Tritanopia (blue-blind)
#D6405F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c74b7e;
/* rgb */ color: rgb(199, 75, 126);
/* oklch */ color: oklch(59.3% 0.165 357.9);
Tailwind
colors: {
  custom: {
    50: '#dc84a3',
    500: '#c74b7e',
    950: '#000000',
  },
}
SCSS
$custom: #c74b7e;
$custom-light: #dc84a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c74b7e",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 126
  },
  "hsl": {
    "h": 335.323,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.16497,
    "h": 357.9
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#C74B7E
secondary
#9CD1BC
accent
#DCA14C
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C74B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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