#C242A1#C242A1

#C242A1 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.192 H 339.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C242A1
RGBrgb(194, 66, 161)
HSLhsl(315, 51%, 51%)
HSVhsv(315, 66%, 76%)
CMYKcmyk(0%, 66%, 17%, 23.9%)
CIE-LABlab(49.43, 60.79, -24.93)
CIE-LCHlch(49.43, 65.71, 337.70°)
OKLaboklab(58.93% 0.1804 -0.0672)
OKLCHoklch(58.93% 0.192 339.6)
XYZxyz(30.6301, 17.9418, 35.5612)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A1 #42C263
analogous
#A342C2 #C242A1 #C24261
triadic
#C242A1 #A1C242 #42A1C2
tetradic
#C242A1 #C2A342 #42C263 #4261C2
square
#C242A1 #C2A342 #42C263 #4261C2
split-complementary
#C242A1 #61C242 #42C2A3
monochromatic
#682256 #96317C #C242A1 #D170B8 #E09FCF

Accessibility & contrast

On white

4.58
#C242A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C242A1#FFFFFF#000000##000000
##C242A11.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4969A4
Deuteranopia (green-blind)
#717D9E
Tritanopia (blue-blind)
#CD466C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c242a1;
/* rgb */ color: rgb(194, 66, 161);
/* oklch */ color: oklch(58.9% 0.192 339.6);
Tailwind
colors: {
  custom: {
    50: '#d87fbd',
    500: '#c242a1',
    950: '#000000',
  },
}
SCSS
$custom: #c242a1;
$custom-light: #d87fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a1",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 315.469,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.19249,
    "h": 339.6
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C242A1

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

Preview Lab → · Contrast checker → · Palette generator →

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