#C04272#C04272

#C04272 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.166 H 0.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C04272
RGBrgb(192, 66, 114)
HSLhsl(337, 50%, 51%)
HSVhsv(337, 66%, 75%)
CMYKcmyk(0%, 65.6%, 40.6%, 24.7%)
CIE-LABlab(47.39, 54.32, 0.23)
CIE-LCHlch(47.39, 54.32, 0.24°)
OKLaboklab(56.82% 0.1662 0.0012)
OKLCHoklch(56.82% 0.166 0.4)
XYZxyz(26.7255, 16.3210, 17.6592)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04272 #42C090
analogous
#C042B1 #C04272 #C05142
triadic
#C04272 #72C042 #4272C0
tetradic
#C04272 #B1C042 #42C090 #5142C0
square
#C04272 #B1C042 #42C090 #5142C0
split-complementary
#C04272 #42C051 #42B1C0
monochromatic
#66223C #943157 #C04272 #CF7094 #DF9EB6

Accessibility & contrast

On white

4.93
#C04272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C04272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04272
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04272#FFFFFF#000000##FFFFFF
##C042721.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#7C796F
Tritanopia (blue-blind)
#D03455
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04272;
/* rgb */ color: rgb(192, 66, 114);
/* oklch */ color: oklch(56.8% 0.166 0.4);
Tailwind
colors: {
  custom: {
    50: '#d87e9a',
    500: '#c04272',
    950: '#000000',
  },
}
SCSS
$custom: #c04272;
$custom-light: #d87e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c04272",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 337.143,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.16616,
    "h": 0.4
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#C04272
secondary
#93CBB6
accent
#DAA44E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04272

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

Preview Lab → · Contrast checker → · Palette generator →

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