#C242AB#C242AB

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

Color values

HEX#C242AB
RGBrgb(194, 66, 171)
HSLhsl(311, 51%, 51%)
HSVhsv(311, 66%, 76%)
CMYKcmyk(0%, 66%, 11.9%, 23.9%)
CIE-LABlab(49.87, 62.27, -30.14)
CIE-LCHlch(49.87, 69.18, 334.17°)
OKLaboklab(59.4% 0.1819 -0.082)
OKLCHoklch(59.4% 0.2 335.7)
XYZxyz(31.5474, 18.3087, 40.3926)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242AB #42C259
analogous
#9942C2 #C242AB #C2426B
triadic
#C242AB #ABC242 #42ABC2
tetradic
#C242AB #C29942 #42C259 #426BC2
square
#C242AB #C29942 #42C259 #426BC2
split-complementary
#C242AB #6BC242 #42C299
monochromatic
#68225B #963184 #C242AB #D170C0 #E09FD4

Accessibility & contrast

On white

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

On black

4.66
#C242AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242AB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242AB#FFFFFF#000000##000000
##C242AB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#CB4A71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c242ab;
/* rgb */ color: rgb(194, 66, 171);
/* oklch */ color: oklch(59.4% 0.200 335.7);
Tailwind
colors: {
  custom: {
    50: '#d880c4',
    500: '#c242ab',
    950: '#000000',
  },
}
SCSS
$custom: #c242ab;
$custom-light: #d880c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c242ab",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 310.781,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59399,
    "c": 0.19952,
    "h": 335.7
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C242AB

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

Preview Lab → · Contrast checker → · Palette generator →

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