#C112E2#C112E2

#C112E2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.5% C 0.279 H 319.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C112E2
RGBrgb(193, 18, 226)
HSLhsl(290, 85%, 48%)
HSVhsv(290, 92%, 89%)
CMYKcmyk(14.6%, 92%, 0%, 11.4%)
CIE-LABlab(48.59, 83.14, -63.98)
CIE-LCHlch(48.59, 104.91, 322.42°)
OKLaboklab(59.46% 0.2128 -0.1801)
OKLCHoklch(59.46% 0.279 319.7)
XYZxyz(35.9343, 17.2630, 73.3761)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C112E2 #33E212
analogous
#5912E2 #C112E2 #E2129B
triadic
#C112E2 #E2C112 #12E2C1
tetradic
#C112E2 #E25912 #33E212 #129BE2
square
#C112E2 #E25912 #33E212 #129BE2
split-complementary
#C112E2 #9BE212 #12E259
monochromatic
#600971 #910DA9 #C112E2 #D441F0 #E17AF4

Accessibility & contrast

On white

4.72
#C112E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C112E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C112E2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C112E2#FFFFFF#000000##FFFFFF
##C112E21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#2E78DE
Tritanopia (blue-blind)
#C14E86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c112e2;
/* rgb */ color: rgb(193, 18, 226);
/* oklch */ color: oklch(59.5% 0.279 319.7);
Tailwind
colors: {
  custom: {
    50: '#d972ec',
    500: '#c112e2',
    950: '#000000',
  },
}
SCSS
$custom: #c112e2;
$custom-light: #d972ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c112e2",
  "rgb": {
    "r": 193,
    "g": 18,
    "b": 226
  },
  "hsl": {
    "h": 290.481,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59459,
    "c": 0.27879,
    "h": 319.7
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#C112E2
secondary
#84DC74
accent
#FB2C4D
background
#FEF7FE
surface
#FCEEFD
border
#D5C9D5
text
#160916
muted
#847B84

Preview Lab

Preview with #C112E2

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

Preview Lab → · Contrast checker → · Palette generator →

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