#C121B2#C121B2

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

Color values

HEX#C121B2
RGBrgb(193, 33, 178)
HSLhsl(306, 71%, 44%)
HSVhsv(306, 83%, 76%)
CMYKcmyk(0%, 82.9%, 7.8%, 24.3%)
CIE-LABlab(46.50, 73.18, -39.56)
CIE-LCHlch(46.50, 83.19, 331.60°)
OKLaboklab(57.06% 0.2111 -0.1089)
OKLCHoklch(57.06% 0.238 332.7)
XYZxyz(30.5722, 15.6422, 43.5200)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C121B2 #21C130
analogous
#8021C1 #C121B2 #C12162
triadic
#C121B2 #B2C121 #21B2C1
tetradic
#C121B2 #C18021 #21C130 #2162C1
square
#C121B2 #C18021 #21C130 #2162C1
split-complementary
#C121B2 #62C121 #21C180
monochromatic
#580F52 #8D1882 #C121B2 #DE41D0 #E775DD

Accessibility & contrast

On white

5.09
#C121B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C121B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C121B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C121B2#FFFFFF#000000##FFFFFF
##C121B21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B6
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#CA376B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c121b2;
/* rgb */ color: rgb(193, 33, 178);
/* oklch */ color: oklch(57.1% 0.237 332.7);
Tailwind
colors: {
  custom: {
    50: '#d873c9',
    500: '#c121b2',
    950: '#000000',
  },
}
SCSS
$custom: #c121b2;
$custom-light: #d873c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c121b2",
  "rgb": {
    "r": 193,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 305.625,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.2375,
    "h": 332.7
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#C121B2
secondary
#6FCF78
accent
#EE4B3A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C121B2

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

Preview Lab → · Contrast checker → · Palette generator →

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