#C242C3#C242C3

#C242C3 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.218 H 327.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C242C3
RGBrgb(194, 66, 195)
HSLhsl(300, 52%, 51%)
HSVhsv(300, 66%, 76%)
CMYKcmyk(0.5%, 66.2%, 0%, 23.5%)
CIE-LABlab(51.05, 66.11, -42.28)
CIE-LCHlch(51.05, 78.47, 327.40°)
OKLaboklab(60.63% 0.1838 -0.117)
OKLCHoklch(60.63% 0.218 327.5)
XYZxyz(34.0462, 19.3082, 53.5528)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242C3 #43C342
analogous
#8142C3 #C242C3 #C34283
triadic
#C242C3 #C3C242 #42C3C2
tetradic
#C242C3 #C38142 #43C342 #4283C3
square
#C242C3 #C38142 #43C342 #4283C3
split-complementary
#C242C3 #83C342 #42C381
monochromatic
#692169 #973098 #C242C3 #D170D2 #E09FE0

Accessibility & contrast

On white

4.32
#C242C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C242C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242C3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242C3#FFFFFF#000000##000000
##C242C31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6FC7
Deuteranopia (green-blind)
#617FC0
Tritanopia (blue-blind)
#C8547D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c242c3;
/* rgb */ color: rgb(194, 66, 195);
/* oklch */ color: oklch(60.6% 0.218 327.5);
Tailwind
colors: {
  custom: {
    50: '#d880d5',
    500: '#c242c3',
    950: '#000000',
  },
}
SCSS
$custom: #c242c3;
$custom-light: #d880d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c242c3",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 299.535,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.21789,
    "h": 327.5
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#C242C3
secondary
#94CD94
accent
#DB4D4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C242C3

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

Preview Lab → · Contrast checker → · Palette generator →

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