#C242A5#C242A5

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

Color values

HEX#C242A5
RGBrgb(194, 66, 165)
HSLhsl(314, 51%, 51%)
HSVhsv(314, 66%, 76%)
CMYKcmyk(0%, 66%, 14.9%, 23.9%)
CIE-LABlab(49.60, 61.38, -27.03)
CIE-LCHlch(49.60, 67.06, 336.24°)
OKLaboklab(59.11% 0.181 -0.0732)
OKLCHoklch(59.11% 0.195 338)
XYZxyz(30.9884, 18.0851, 37.4487)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A5 #42C25F
analogous
#9F42C2 #C242A5 #C24265
triadic
#C242A5 #A5C242 #42A5C2
tetradic
#C242A5 #C29F42 #42C25F #4265C2
square
#C242A5 #C29F42 #42C25F #4265C2
split-complementary
#C242A5 #65C242 #42C29F
monochromatic
#682258 #96317F #C242A5 #D170BB #E09FD1

Accessibility & contrast

On white

4.55
#C242A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C242A5#FFFFFF#000000##000000
##C242A51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#CC486E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c242a5;
/* rgb */ color: rgb(194, 66, 165);
/* oklch */ color: oklch(59.1% 0.195 338.0);
Tailwind
colors: {
  custom: {
    50: '#d880c0',
    500: '#c242a5',
    950: '#000000',
  },
}
SCSS
$custom: #c242a5;
$custom-light: #d880c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a5",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 313.594,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.19524,
    "h": 338
  },
  "luminance": 0.18082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C242A5

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

Preview Lab → · Contrast checker → · Palette generator →

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