#C126AE#C126AE

#C126AE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.1% C 0.231 H 334.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C126AE
RGBrgb(193, 38, 174)
HSLhsl(307, 67%, 45%)
HSVhsv(307, 80%, 76%)
CMYKcmyk(0%, 80.3%, 9.8%, 24.3%)
CIE-LABlab(46.69, 71.45, -36.91)
CIE-LCHlch(46.69, 80.42, 332.68°)
OKLaboklab(57.12% 0.2076 -0.1013)
OKLCHoklch(57.12% 0.231 334)
XYZxyz(30.3257, 15.7824, 41.4854)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C126AE #26C139
analogous
#8726C1 #C126AE #C12660
triadic
#C126AE #AEC126 #26AEC1
tetradic
#C126AE #C18726 #26C139 #2660C1
square
#C126AE #C18726 #26C139 #2660C1
split-complementary
#C126AE #60C126 #26C187
monochromatic
#5B1252 #8E1C80 #C126AE #DB49C9 #E57CD8

Accessibility & contrast

On white

5.05
#C126AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C126AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C126AE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C126AE#FFFFFF#000000##FFFFFF
##C126AE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#6076AB
Tritanopia (blue-blind)
#CA376A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c126ae;
/* rgb */ color: rgb(193, 38, 174);
/* oklch */ color: oklch(57.1% 0.231 334.0);
Tailwind
colors: {
  custom: {
    50: '#d874c6',
    500: '#c126ae',
    950: '#000000',
  },
}
SCSS
$custom: #c126ae;
$custom-light: #d874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c126ae",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 307.355,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.23099,
    "h": 334
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#C126AE
secondary
#75CD80
accent
#EA533E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C126AE

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

Preview Lab → · Contrast checker → · Palette generator →

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