#C242AC#C242AC

#C242AC is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.4% C 0.200 H 335.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C242AC
RGBrgb(194, 66, 172)
HSLhsl(310, 51%, 51%)
HSVhsv(310, 66%, 76%)
CMYKcmyk(0%, 66%, 11.3%, 23.9%)
CIE-LABlab(49.91, 62.42, -30.66)
CIE-LCHlch(49.91, 69.55, 333.84°)
OKLaboklab(59.45% 0.182 -0.0835)
OKLCHoklch(59.45% 0.2 335.4)
XYZxyz(31.6431, 18.3470, 40.8965)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242AC #42C258
analogous
#9842C2 #C242AC #C2426C
triadic
#C242AC #ACC242 #42ACC2
tetradic
#C242AC #C29842 #42C258 #426CC2
square
#C242AC #C29842 #42C258 #426CC2
split-complementary
#C242AC #6CC242 #42C298
monochromatic
#68225C #963185 #C242AC #D170C0 #E09FD5

Accessibility & contrast

On white

4.50
#C242AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C242AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242AC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242AC#FFFFFF#000000##000000
##C242AC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#6C7EA9
Tritanopia (blue-blind)
#CB4A71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c242ac;
/* rgb */ color: rgb(194, 66, 172);
/* oklch */ color: oklch(59.4% 0.200 335.4);
Tailwind
colors: {
  custom: {
    50: '#d880c5',
    500: '#c242ac',
    950: '#000000',
  },
}
SCSS
$custom: #c242ac;
$custom-light: #d880c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c242ac",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 310.313,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.20024,
    "h": 335.4
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#C242AC
secondary
#94CC9D
accent
#DB654D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242AC

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

Preview Lab → · Contrast checker → · Palette generator →

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