#C242A0#C242A0

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

Color values

HEX#C242A0
RGBrgb(194, 66, 160)
HSLhsl(316, 51%, 51%)
HSVhsv(316, 66%, 76%)
CMYKcmyk(0%, 66%, 17.5%, 23.9%)
CIE-LABlab(49.38, 60.65, -24.40)
CIE-LCHlch(49.38, 65.38, 338.08°)
OKLaboklab(58.89% 0.1802 -0.0657)
OKLCHoklch(58.89% 0.192 340)
XYZxyz(30.5422, 17.9066, 35.0987)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242A0 #42C264
analogous
#A442C2 #C242A0 #C24260
triadic
#C242A0 #A0C242 #42A0C2
tetradic
#C242A0 #C2A442 #42C264 #4260C2
square
#C242A0 #C2A442 #42C264 #4260C2
split-complementary
#C242A0 #60C242 #42C2A4
monochromatic
#682255 #96317B #C242A0 #D170B7 #E09FCF

Accessibility & contrast

On white

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

On black

4.58
#C242A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242A0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242A0#FFFFFF#000000##000000
##C242A01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4968A3
Deuteranopia (green-blind)
#717D9D
Tritanopia (blue-blind)
#CD456B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c242a0;
/* rgb */ color: rgb(194, 66, 160);
/* oklch */ color: oklch(58.9% 0.192 340.0);
Tailwind
colors: {
  custom: {
    50: '#d87fbc',
    500: '#c242a0',
    950: '#000000',
  },
}
SCSS
$custom: #c242a0;
$custom-light: #d87fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#c242a0",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 315.938,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.1918,
    "h": 340
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#C242A0
secondary
#94CCA3
accent
#DB734D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C242A0

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

Preview Lab → · Contrast checker → · Palette generator →

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