#C242A3#C242A3

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

Color values

HEX#C242A3
RGBrgb(194, 66, 163)
HSLhsl(315, 51%, 51%)
HSVhsv(315, 66%, 76%)
CMYKcmyk(0%, 66%, 16%, 23.9%)
CIE-LABlab(49.51, 61.08, -25.98)
CIE-LCHlch(49.51, 66.38, 336.96°)
OKLaboklab(59.02% 0.1807 -0.0702)
OKLCHoklch(59.02% 0.194 338.8)
XYZxyz(30.8078, 18.0129, 36.4975)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A3 #42C261
analogous
#A142C2 #C242A3 #C24263
triadic
#C242A3 #A3C242 #42A3C2
tetradic
#C242A3 #C2A142 #42C261 #4263C2
square
#C242A3 #C2A142 #42C261 #4263C2
split-complementary
#C242A3 #63C242 #42C2A1
monochromatic
#682257 #96317E #C242A3 #D170BA #E09FD0

Accessibility & contrast

On white

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

On black

4.60
#C242A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242A3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242A3#FFFFFF#000000##000000
##C242A31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#CD476D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c242a3;
/* rgb */ color: rgb(194, 66, 163);
/* oklch */ color: oklch(59.0% 0.194 338.8);
Tailwind
colors: {
  custom: {
    50: '#d880be',
    500: '#c242a3',
    950: '#000000',
  },
}
SCSS
$custom: #c242a3;
$custom-light: #d880be;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a3",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 314.531,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.19385,
    "h": 338.8
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C242A3

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

Preview Lab → · Contrast checker → · Palette generator →

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