#C242A4#C242A4

#C242A4 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.195 H 338.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C242A4
RGBrgb(194, 66, 164)
HSLhsl(314, 51%, 51%)
HSVhsv(314, 66%, 76%)
CMYKcmyk(0%, 66%, 15.5%, 23.9%)
CIE-LABlab(49.56, 61.23, -26.50)
CIE-LCHlch(49.56, 66.72, 336.59°)
OKLaboklab(59.07% 0.1809 -0.0717)
OKLCHoklch(59.07% 0.195 338.4)
XYZxyz(30.8978, 18.0488, 36.9713)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A4 #42C260
analogous
#A042C2 #C242A4 #C24264
triadic
#C242A4 #A4C242 #42A4C2
tetradic
#C242A4 #C2A042 #42C260 #4264C2
square
#C242A4 #C2A042 #42C260 #4264C2
split-complementary
#C242A4 #64C242 #42C2A0
monochromatic
#682258 #96317E #C242A4 #D170BA #E09FD1

Accessibility & contrast

On white

4.56
#C242A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C242A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242A4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242A4#FFFFFF#000000##000000
##C242A41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#CC476D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c242a4;
/* rgb */ color: rgb(194, 66, 164);
/* oklch */ color: oklch(59.1% 0.195 338.4);
Tailwind
colors: {
  custom: {
    50: '#d880bf',
    500: '#c242a4',
    950: '#000000',
  },
}
SCSS
$custom: #c242a4;
$custom-light: #d880bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a4",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 314.063,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.19454,
    "h": 338.4
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#C242A4
secondary
#94CCA1
accent
#DB6E4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C242A4

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

Preview Lab → · Contrast checker → · Palette generator →

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