#C041A2#C041A2

#C041A2 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.193 H 338.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C041A2
RGBrgb(192, 65, 162)
HSLhsl(314, 50%, 50%)
HSVhsv(314, 66%, 75%)
CMYKcmyk(0%, 66.1%, 15.6%, 24.7%)
CIE-LABlab(49.01, 60.81, -26.20)
CIE-LCHlch(49.01, 66.21, 336.69°)
OKLaboklab(58.58% 0.1797 -0.0708)
OKLCHoklch(58.58% 0.193 338.5)
XYZxyz(30.1507, 17.5984, 35.9843)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C041A2 #41C05F
analogous
#9E41C0 #C041A2 #C04162
triadic
#C041A2 #A2C041 #41A2C0
tetradic
#C041A2 #C09E41 #41C05F #4162C0
square
#C041A2 #C09E41 #41C05F #4162C0
split-complementary
#C041A2 #62C041 #41C09E
monochromatic
#652255 #93317C #C041A2 #CF6FB8 #DE9DCF

Accessibility & contrast

On white

4.65
#C041A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C041A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C041A2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C041A2#FFFFFF#000000##FFFFFF
##C041A21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#6E7C9F
Tritanopia (blue-blind)
#CA466C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c041a2;
/* rgb */ color: rgb(192, 65, 162);
/* oklch */ color: oklch(58.6% 0.193 338.5);
Tailwind
colors: {
  custom: {
    50: '#d67fbd',
    500: '#c041a2',
    950: '#000000',
  },
}
SCSS
$custom: #c041a2;
$custom-light: #d67fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c041a2",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 314.173,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58576,
    "c": 0.19315,
    "h": 338.5
  },
  "luminance": 0.17596
}

Semantic roles & 50–950 ramp

primary
#C041A2
secondary
#92CB9F
accent
#DA6F4E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C041A2

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

Preview Lab → · Contrast checker → · Palette generator →

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