#C04274#C04274

#C04274 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.9% C 0.167 H 359.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C04274
RGBrgb(192, 66, 116)
HSLhsl(336, 50%, 51%)
HSVhsv(336, 66%, 75%)
CMYKcmyk(0%, 65.6%, 39.6%, 24.7%)
CIE-LABlab(47.45, 54.53, -0.90)
CIE-LCHlch(47.45, 54.54, 359.05°)
OKLaboklab(56.88% 0.1668 -0.0017)
OKLCHoklch(56.88% 0.167 359.4)
XYZxyz(26.8406, 16.3670, 18.2653)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04274 #42C08E
analogous
#C042B3 #C04274 #C04F42
triadic
#C04274 #74C042 #4274C0
tetradic
#C04274 #B3C042 #42C08E #4F42C0
square
#C04274 #B3C042 #42C08E #4F42C0
split-complementary
#C04274 #42C04F #42B3C0
monochromatic
#66223D #943158 #C04274 #CF7096 #DF9EB8

Accessibility & contrast

On white

4.91
#C04274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C04274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04274
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04274#FFFFFF#000000##FFFFFF
##C042741.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6175
Deuteranopia (green-blind)
#7C7971
Tritanopia (blue-blind)
#CF3556
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c04274;
/* rgb */ color: rgb(192, 66, 116);
/* oklch */ color: oklch(56.9% 0.167 359.4);
Tailwind
colors: {
  custom: {
    50: '#d87e9b',
    500: '#c04274',
    950: '#000000',
  },
}
SCSS
$custom: #c04274;
$custom-light: #d87e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04274",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 336.19,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.16685,
    "h": 359.4
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#C04274
secondary
#93CBB5
accent
#DAA24E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04274

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

Preview Lab → · Contrast checker → · Palette generator →

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