#C126BE#C126BE

#C126BE is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.0% C 0.242 H 329.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C126BE
RGBrgb(193, 38, 190)
HSLhsl(301, 67%, 45%)
HSVhsv(301, 80%, 76%)
CMYKcmyk(0%, 80.3%, 1.6%, 24.3%)
CIE-LABlab(47.55, 73.83, -44.93)
CIE-LCHlch(47.55, 86.43, 328.68°)
OKLaboklab(58.02% 0.2076 -0.1245)
OKLCHoklch(58.02% 0.242 329)
XYZxyz(31.9794, 16.4439, 50.1949)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C126BE #26C129
analogous
#7626C1 #C126BE #C12671
triadic
#C126BE #BEC126 #26BEC1
tetradic
#C126BE #C17626 #26C129 #2671C1
square
#C126BE #C17626 #26C129 #2671C1
split-complementary
#C126BE #71C126 #26C176
monochromatic
#5B1259 #8E1C8C #C126BE #DB49D8 #E57CE3

Accessibility & contrast

On white

4.90
#C126BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C126BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C126BE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C126BE#FFFFFF#000000##FFFFFF
##C126BE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#C84173
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c126be;
/* rgb */ color: rgb(193, 38, 190);
/* oklch */ color: oklch(58.0% 0.242 329.0);
Tailwind
colors: {
  custom: {
    50: '#d875d2',
    500: '#c126be',
    950: '#000000',
  },
}
SCSS
$custom: #c126be;
$custom-light: #d875d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c126be",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 301.161,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.24205,
    "h": 329
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#C126BE
secondary
#75CD77
accent
#EA413E
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C126BE

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

Preview Lab → · Contrast checker → · Palette generator →

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