#C126BB#C126BB

#C126BB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.8% C 0.240 H 329.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C126BB
RGBrgb(193, 38, 187)
HSLhsl(302, 67%, 45%)
HSVhsv(302, 80%, 76%)
CMYKcmyk(0%, 80.3%, 3.1%, 24.3%)
CIE-LABlab(47.38, 73.37, -43.44)
CIE-LCHlch(47.38, 85.27, 329.37°)
OKLaboklab(57.84% 0.2077 -0.1202)
OKLCHoklch(57.84% 0.24 329.9)
XYZxyz(31.6549, 16.3141, 48.4858)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C126BB #26C12C
analogous
#7A26C1 #C126BB #C1266D
triadic
#C126BB #BBC126 #26BBC1
tetradic
#C126BB #C17A26 #26C12C #266DC1
square
#C126BB #C17A26 #26C12C #266DC1
split-complementary
#C126BB #6DC126 #26C17A
monochromatic
#5B1258 #8E1C89 #C126BB #DB49D6 #E57CE1

Accessibility & contrast

On white

4.93
#C126BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C126BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C126BB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C126BB#FFFFFF#000000##FFFFFF
##C126BB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#C83F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c126bb;
/* rgb */ color: rgb(193, 38, 187);
/* oklch */ color: oklch(57.8% 0.240 329.9);
Tailwind
colors: {
  custom: {
    50: '#d875d0',
    500: '#c126bb',
    950: '#000000',
  },
}
SCSS
$custom: #c126bb;
$custom-light: #d875d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c126bb",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 187
  },
  "hsl": {
    "h": 302.323,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57841,
    "c": 0.23994,
    "h": 329.9
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#C126BB
secondary
#75CD79
accent
#EA443E
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C126BB

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

Preview Lab → · Contrast checker → · Palette generator →

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