#C242A2#C242A2

#C242A2 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.0% C 0.193 H 339.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C242A2
RGBrgb(194, 66, 162)
HSLhsl(315, 51%, 51%)
HSVhsv(315, 66%, 76%)
CMYKcmyk(0%, 66%, 16.5%, 23.9%)
CIE-LABlab(49.47, 60.94, -25.45)
CIE-LCHlch(49.47, 66.04, 337.33°)
OKLaboklab(58.98% 0.1805 -0.0687)
OKLCHoklch(58.98% 0.193 339.2)
XYZxyz(30.7186, 17.9772, 36.0275)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A2 #42C262
analogous
#A242C2 #C242A2 #C24262
triadic
#C242A2 #A2C242 #42A2C2
tetradic
#C242A2 #C2A242 #42C262 #4262C2
square
#C242A2 #C2A242 #42C262 #4262C2
split-complementary
#C242A2 #62C242 #42C2A2
monochromatic
#682256 #96317D #C242A2 #D170B9 #E09FD0

Accessibility & contrast

On white

4.57
#C242A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C242A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242A2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242A2#FFFFFF#000000##000000
##C242A21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4869A5
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#CD466C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c242a2;
/* rgb */ color: rgb(194, 66, 162);
/* oklch */ color: oklch(59.0% 0.193 339.2);
Tailwind
colors: {
  custom: {
    50: '#d87fbd',
    500: '#c242a2',
    950: '#000000',
  },
}
SCSS
$custom: #c242a2;
$custom-light: #d87fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a2",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 315,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58977,
    "c": 0.19317,
    "h": 339.2
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#C242A2
secondary
#94CCA2
accent
#DB714D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C242A2

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

Preview Lab → · Contrast checker → · Palette generator →

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