#C74E7B#C74E7B

#C74E7B is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.6% C 0.160 H 0.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C74E7B
RGBrgb(199, 78, 123)
HSLhsl(338, 52%, 54%)
HSVhsv(338, 61%, 78%)
CMYKcmyk(0%, 60.8%, 38.2%, 22%)
CIE-LABlab(50.72, 52.31, -0.22)
CIE-LCHlch(50.72, 52.31, 359.76°)
OKLaboklab(59.59% 0.1597 0.0001)
OKLCHoklch(59.59% 0.16 0)
XYZxyz(29.8545, 19.0243, 20.8349)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74E7B #4EC79A
analogous
#C74EB8 #C74E7B #C75E4E
triadic
#C74E7B #7BC74E #4E7BC7
tetradic
#C74E7B #B8C74E #4EC79A #5E4EC7
square
#C74E7B #B8C74E #4EC79A #5E4EC7
split-complementary
#C74E7B #4EC75E #4EB8C7
monochromatic
#752543 #A4345E #C74E7B #D67C9E #E4ABC0

Accessibility & contrast

On white

4.37
#C74E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C74E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74E7B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74E7B#FFFFFF#000000##000000
##C74E7B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#848178
Tritanopia (blue-blind)
#D6435F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c74e7b;
/* rgb */ color: rgb(199, 78, 123);
/* oklch */ color: oklch(59.6% 0.160 0.0);
Tailwind
colors: {
  custom: {
    50: '#dc85a1',
    500: '#c74e7b',
    950: '#000000',
  },
}
SCSS
$custom: #c74e7b;
$custom-light: #dc85a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74e7b",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 337.686,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.1597,
    "h": 0
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#C74E7B
secondary
#9FD2BF
accent
#DBA64C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C74E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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