#C242AA#C242AA

#C242AA is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.4% C 0.199 H 336.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C242AA
RGBrgb(194, 66, 170)
HSLhsl(311, 51%, 51%)
HSVhsv(311, 66%, 76%)
CMYKcmyk(0%, 66%, 12.4%, 23.9%)
CIE-LABlab(49.82, 62.12, -29.62)
CIE-LCHlch(49.82, 68.82, 334.50°)
OKLaboklab(59.35% 0.1817 -0.0806)
OKLCHoklch(59.35% 0.199 336.1)
XYZxyz(31.4524, 18.2707, 39.8925)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242AA #42C25A
analogous
#9A42C2 #C242AA #C2426A
triadic
#C242AA #AAC242 #42AAC2
tetradic
#C242AA #C29A42 #42C25A #426AC2
square
#C242AA #C29A42 #42C25A #426AC2
split-complementary
#C242AA #6AC242 #42C29A
monochromatic
#68225B #963183 #C242AA #D170BF #E09FD4

Accessibility & contrast

On white

4.51
#C242AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C242AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242AA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242AA#FFFFFF#000000##000000
##C242AA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#CC4A70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c242aa;
/* rgb */ color: rgb(194, 66, 170);
/* oklch */ color: oklch(59.4% 0.199 336.1);
Tailwind
colors: {
  custom: {
    50: '#d880c3',
    500: '#c242aa',
    950: '#000000',
  },
}
SCSS
$custom: #c242aa;
$custom-light: #d880c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c242aa",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 311.25,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.19879,
    "h": 336.1
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#C242AA
secondary
#94CC9E
accent
#DB684D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C242AA

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

Preview Lab → · Contrast checker → · Palette generator →

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