#C242B3#C242B3

#C242B3 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.205 H 332.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C242B3
RGBrgb(194, 66, 179)
HSLhsl(307, 51%, 51%)
HSVhsv(307, 66%, 76%)
CMYKcmyk(0%, 66%, 7.7%, 23.9%)
CIE-LABlab(50.24, 63.51, -34.24)
CIE-LCHlch(50.24, 72.15, 331.67°)
OKLaboklab(59.79% 0.1828 -0.0938)
OKLCHoklch(59.79% 0.205 332.8)
XYZxyz(32.3331, 18.6230, 44.5307)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242B3 #42C251
analogous
#9142C2 #C242B3 #C24273
triadic
#C242B3 #B3C242 #42B3C2
tetradic
#C242B3 #C29142 #42C251 #4273C2
square
#C242B3 #C29142 #42C251 #4273C2
split-complementary
#C242B3 #73C242 #42C291
monochromatic
#682260 #96318A #C242B3 #D170C6 #E09FD8

Accessibility & contrast

On white

4.45
#C242B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C242B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242B3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242B3#FFFFFF#000000##000000
##C242B31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#CA4D75
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c242b3;
/* rgb */ color: rgb(194, 66, 179);
/* oklch */ color: oklch(59.8% 0.205 332.8);
Tailwind
colors: {
  custom: {
    50: '#d880ca',
    500: '#c242b3',
    950: '#000000',
  },
}
SCSS
$custom: #c242b3;
$custom-light: #d880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c242b3",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 307.031,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.20543,
    "h": 332.8
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#C242B3
secondary
#94CC9A
accent
#DB5E4D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242B3

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

Preview Lab → · Contrast checker → · Palette generator →

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