#C04273#C04273

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

Color values

HEX#C04273
RGBrgb(192, 66, 115)
HSLhsl(337, 50%, 51%)
HSVhsv(337, 66%, 75%)
CMYKcmyk(0%, 65.6%, 40.1%, 24.7%)
CIE-LABlab(47.42, 54.43, -0.34)
CIE-LCHlch(47.42, 54.43, 359.65°)
OKLaboklab(56.85% 0.1665 -0.0002)
OKLCHoklch(56.85% 0.167 359.9)
XYZxyz(26.7827, 16.3439, 17.9606)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04273 #42C08F
analogous
#C042B2 #C04273 #C05042
triadic
#C04273 #73C042 #4273C0
tetradic
#C04273 #B2C042 #42C08F #5042C0
square
#C04273 #B2C042 #42C08F #5042C0
split-complementary
#C04273 #42C050 #42B2C0
monochromatic
#66223C #943157 #C04273 #CF7095 #DF9EB7

Accessibility & contrast

On white

4.92
#C04273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04273
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04273#FFFFFF#000000##FFFFFF
##C042731.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6174
Deuteranopia (green-blind)
#7C7970
Tritanopia (blue-blind)
#CF3456
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04273;
/* rgb */ color: rgb(192, 66, 115);
/* oklch */ color: oklch(56.8% 0.167 359.9);
Tailwind
colors: {
  custom: {
    50: '#d87e9b',
    500: '#c04273',
    950: '#000000',
  },
}
SCSS
$custom: #c04273;
$custom-light: #d87e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04273",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 336.667,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.1665,
    "h": 359.9
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04273

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

Preview Lab → · Contrast checker → · Palette generator →

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