#C242B0#C242B0

#C242B0 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.203 H 333.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C242B0
RGBrgb(194, 66, 176)
HSLhsl(308, 51%, 51%)
HSVhsv(308, 66%, 76%)
CMYKcmyk(0%, 66%, 9.3%, 23.9%)
CIE-LABlab(50.10, 63.04, -32.71)
CIE-LCHlch(50.10, 71.02, 332.57°)
OKLaboklab(59.64% 0.1825 -0.0894)
OKLCHoklch(59.64% 0.203 333.9)
XYZxyz(32.0330, 18.5029, 42.9502)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242B0 #42C254
analogous
#9442C2 #C242B0 #C24270
triadic
#C242B0 #B0C242 #42B0C2
tetradic
#C242B0 #C29442 #42C254 #4270C2
square
#C242B0 #C29442 #42C254 #4270C2
split-complementary
#C242B0 #70C242 #42C294
monochromatic
#68225E #963188 #C242B0 #D170C3 #E09FD7

Accessibility & contrast

On white

4.47
#C242B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C242B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242B0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242B0#FFFFFF#000000##000000
##C242B01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#CB4C73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c242b0;
/* rgb */ color: rgb(194, 66, 176);
/* oklch */ color: oklch(59.6% 0.203 333.9);
Tailwind
colors: {
  custom: {
    50: '#d880c8',
    500: '#c242b0',
    950: '#000000',
  },
}
SCSS
$custom: #c242b0;
$custom-light: #d880c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c242b0",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 308.438,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59643,
    "c": 0.20319,
    "h": 333.9
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#C242B0
secondary
#94CC9C
accent
#DB614D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242B0

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

Preview Lab → · Contrast checker → · Palette generator →

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