#C042A3#C042A3

#C042A3 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.193 H 338.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C042A3
RGBrgb(192, 66, 163)
HSLhsl(314, 50%, 51%)
HSVhsv(314, 66%, 75%)
CMYKcmyk(0%, 65.6%, 15.1%, 24.7%)
CIE-LABlab(49.19, 60.56, -26.50)
CIE-LCHlch(49.19, 66.10, 336.37°)
OKLaboklab(58.73% 0.1787 -0.0717)
OKLCHoklch(58.73% 0.193 338.1)
XYZxyz(30.2979, 17.7499, 36.4736)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042A3 #42C05F
analogous
#9E42C0 #C042A3 #C04264
triadic
#C042A3 #A3C042 #42A3C0
tetradic
#C042A3 #C09E42 #42C05F #4264C0
square
#C042A3 #C09E42 #42C05F #4264C0
split-complementary
#C042A3 #64C042 #42C09E
monochromatic
#662256 #94317D #C042A3 #CF70B9 #DF9ED0

Accessibility & contrast

On white

4.62
#C042A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C042A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C042A3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042A3#FFFFFF#000000##FFFFFF
##C042A31.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A6
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#CA476D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c042a3;
/* rgb */ color: rgb(192, 66, 163);
/* oklch */ color: oklch(58.7% 0.193 338.1);
Tailwind
colors: {
  custom: {
    50: '#d67fbe',
    500: '#c042a3',
    950: '#000000',
  },
}
SCSS
$custom: #c042a3;
$custom-light: #d67fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c042a3",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 313.81,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.19252,
    "h": 338.1
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#C042A3
secondary
#93CBA0
accent
#DA6E4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C042A3

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

Preview Lab → · Contrast checker → · Palette generator →

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