#C242B5#C242B5

#C242B5 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.207 H 332.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C242B5
RGBrgb(194, 66, 181)
HSLhsl(306, 51%, 51%)
HSVhsv(306, 66%, 76%)
CMYKcmyk(0%, 66%, 6.7%, 23.9%)
CIE-LABlab(50.34, 63.82, -35.26)
CIE-LCHlch(50.34, 72.92, 331.08°)
OKLaboklab(59.89% 0.183 -0.0967)
OKLCHoklch(59.89% 0.207 332.1)
XYZxyz(32.5369, 18.7045, 45.6038)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242B5 #42C24F
analogous
#8F42C2 #C242B5 #C24275
triadic
#C242B5 #B5C242 #42B5C2
tetradic
#C242B5 #C28F42 #42C24F #4275C2
square
#C242B5 #C28F42 #42C24F #4275C2
split-complementary
#C242B5 #75C242 #42C28F
monochromatic
#682261 #96318C #C242B5 #D170C7 #E09FD9

Accessibility & contrast

On white

4.43
#C242B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C242B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242B5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242B5#FFFFFF#000000##000000
##C242B51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB8
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#CA4E76
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c242b5;
/* rgb */ color: rgb(194, 66, 181);
/* oklch */ color: oklch(59.9% 0.207 332.1);
Tailwind
colors: {
  custom: {
    50: '#d880cb',
    500: '#c242b5',
    950: '#000000',
  },
}
SCSS
$custom: #c242b5;
$custom-light: #d880cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c242b5",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 306.094,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59894,
    "c": 0.20695,
    "h": 332.1
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#C242B5
secondary
#94CC99
accent
#DB5C4D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242B5

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

Preview Lab → · Contrast checker → · Palette generator →

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