#C242A6#C242A6

#C242A6 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.2% C 0.196 H 337.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C242A6
RGBrgb(194, 66, 166)
HSLhsl(313, 51%, 51%)
HSVhsv(313, 66%, 76%)
CMYKcmyk(0%, 66%, 14.4%, 23.9%)
CIE-LABlab(49.64, 61.52, -27.55)
CIE-LCHlch(49.64, 67.41, 335.88°)
OKLaboklab(59.16% 0.1812 -0.0746)
OKLCHoklch(59.16% 0.196 337.6)
XYZxyz(31.0798, 18.1217, 37.9300)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A6 #42C25E
analogous
#9E42C2 #C242A6 #C24266
triadic
#C242A6 #A6C242 #42A6C2
tetradic
#C242A6 #C29E42 #42C25E #4266C2
square
#C242A6 #C29E42 #42C25E #4266C2
split-complementary
#C242A6 #66C242 #42C29E
monochromatic
#682259 #963180 #C242A6 #D170BC #E09FD2

Accessibility & contrast

On white

4.54
#C242A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C242A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242A6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242A6#FFFFFF#000000##000000
##C242A61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4669A9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#CC486E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c242a6;
/* rgb */ color: rgb(194, 66, 166);
/* oklch */ color: oklch(59.2% 0.196 337.6);
Tailwind
colors: {
  custom: {
    50: '#d880c0',
    500: '#c242a6',
    950: '#000000',
  },
}
SCSS
$custom: #c242a6;
$custom-light: #d880c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a6",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 313.125,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.19594,
    "h": 337.6
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#C242A6
secondary
#94CCA0
accent
#DB6C4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C242A6

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

Preview Lab → · Contrast checker → · Palette generator →

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