#C120B0#C120B0

#C120B0 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.237 H 333.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C120B0
RGBrgb(193, 32, 176)
HSLhsl(306, 72%, 44%)
HSVhsv(306, 83%, 76%)
CMYKcmyk(0%, 83.4%, 8.8%, 24.3%)
CIE-LABlab(46.32, 73.11, -38.67)
CIE-LCHlch(46.32, 82.70, 332.12°)
OKLaboklab(56.89% 0.2117 -0.1063)
OKLCHoklch(56.89% 0.237 333.3)
XYZxyz(30.3456, 15.5078, 42.4610)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120B0 #20C131
analogous
#8220C1 #C120B0 #C12060
triadic
#C120B0 #B0C120 #20B0C1
tetradic
#C120B0 #C18220 #20C131 #2060C1
square
#C120B0 #C18220 #20C131 #2060C1
split-complementary
#C120B0 #60C120 #20C182
monochromatic
#580F50 #8D1780 #C120B0 #DF3FCE #E874DC

Accessibility & contrast

On white

5.12
#C120B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C120B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120B0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120B0#FFFFFF#000000##FFFFFF
##C120B01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB4
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#CA356A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c120b0;
/* rgb */ color: rgb(193, 32, 176);
/* oklch */ color: oklch(56.9% 0.237 333.3);
Tailwind
colors: {
  custom: {
    50: '#d872c8',
    500: '#c120b0',
    950: '#000000',
  },
}
SCSS
$custom: #c120b0;
$custom-light: #d872c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c120b0",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 176
  },
  "hsl": {
    "h": 306.335,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.23687,
    "h": 333.3
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#C120B0
secondary
#6ECF78
accent
#EE4D3A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C120B0

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

Preview Lab → · Contrast checker → · Palette generator →

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