#C74271#C74271

#C74271 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.9% C 0.172 H 2.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C74271
RGBrgb(199, 66, 113)
HSLhsl(339, 54%, 52%)
HSVhsv(339, 67%, 78%)
CMYKcmyk(0%, 66.8%, 43.2%, 22%)
CIE-LABlab(48.55, 56.35, 2.67)
CIE-LCHlch(48.55, 56.41, 2.71°)
OKLaboklab(57.89% 0.1723 0.0075)
OKLCHoklch(57.89% 0.172 2.5)
XYZxyz(28.4841, 17.2343, 17.4461)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74271 #42C798
analogous
#C742B4 #C74271 #C75642
triadic
#C74271 #71C742 #4271C7
tetradic
#C74271 #B4C742 #42C798 #5642C7
square
#C74271 #B4C742 #42C798 #5642C7
split-complementary
#C74271 #42C756 #42B4C7
monochromatic
#6E213C #9D2F56 #C74271 #D57194 #E3A0B8

Accessibility & contrast

On white

4.72
#C74271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C74271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C74271
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74271#FFFFFF#000000##FFFFFF
##C742711.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6372
Deuteranopia (green-blind)
#817D6E
Tritanopia (blue-blind)
#D83155
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c74271;
/* rgb */ color: rgb(199, 66, 113);
/* oklch */ color: oklch(57.9% 0.172 2.5);
Tailwind
colors: {
  custom: {
    50: '#dd7f99',
    500: '#c74271',
    950: '#000000',
  },
}
SCSS
$custom: #c74271;
$custom-light: #dd7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#c74271",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 338.797,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.17247,
    "h": 2.5
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#C74271
secondary
#95D0BB
accent
#DEAA4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C74271

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

Preview Lab → · Contrast checker → · Palette generator →

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