#C121B1#C121B1

#C121B1 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.237 H 333.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C121B1
RGBrgb(193, 33, 177)
HSLhsl(306, 71%, 44%)
HSVhsv(306, 83%, 76%)
CMYKcmyk(0%, 82.9%, 8.3%, 24.3%)
CIE-LABlab(46.45, 73.04, -39.06)
CIE-LCHlch(46.45, 82.82, 331.86°)
OKLaboklab(57% 0.2111 -0.1074)
OKLCHoklch(57% 0.237 333)
XYZxyz(30.4722, 15.6022, 42.9931)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C121B1 #21C131
analogous
#8121C1 #C121B1 #C12161
triadic
#C121B1 #B1C121 #21B1C1
tetradic
#C121B1 #C18121 #21C131 #2161C1
square
#C121B1 #C18121 #21C131 #2161C1
split-complementary
#C121B1 #61C121 #21C181
monochromatic
#580F51 #8D1881 #C121B1 #DE41CF #E775DC

Accessibility & contrast

On white

5.10
#C121B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C121B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C121B1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C121B1#FFFFFF#000000##FFFFFF
##C121B11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#5D76AD
Tritanopia (blue-blind)
#CA366B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c121b1;
/* rgb */ color: rgb(193, 33, 177);
/* oklch */ color: oklch(57.0% 0.237 333.0);
Tailwind
colors: {
  custom: {
    50: '#d873c9',
    500: '#c121b1',
    950: '#000000',
  },
}
SCSS
$custom: #c121b1;
$custom-light: #d873c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c121b1",
  "rgb": {
    "r": 193,
    "g": 33,
    "b": 177
  },
  "hsl": {
    "h": 306,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.23683,
    "h": 333
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

primary
#C121B1
secondary
#6FCF79
accent
#EE4C3A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C121B1

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

Preview Lab → · Contrast checker → · Palette generator →

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