#C130AB#C130AB

#C130AB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.220 H 335.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C130AB
RGBrgb(193, 48, 171)
HSLhsl(309, 60%, 47%)
HSVhsv(309, 75%, 76%)
CMYKcmyk(0%, 75.1%, 11.4%, 24.3%)
CIE-LABlab(47.49, 68.29, -33.88)
CIE-LCHlch(47.49, 76.23, 333.61°)
OKLaboklab(57.65% 0.1994 -0.0926)
OKLCHoklch(57.65% 0.22 335.1)
XYZxyz(30.4003, 16.3944, 40.0835)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C130AB #30C146
analogous
#8E30C1 #C130AB #C13063
triadic
#C130AB #ABC130 #30ABC1
tetradic
#C130AB #C18E30 #30C146 #3063C1
square
#C130AB #C18E30 #30C146 #3063C1
split-complementary
#C130AB #63C130 #30C18E
monochromatic
#5F1854 #902480 #C130AB #D659C3 #E28AD4

Accessibility & contrast

On white

4.91
#C130AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C130AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C130AB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C130AB#FFFFFF#000000##FFFFFF
##C130AB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#CB3C6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c130ab;
/* rgb */ color: rgb(193, 48, 171);
/* oklch */ color: oklch(57.6% 0.220 335.1);
Tailwind
colors: {
  custom: {
    50: '#d878c4',
    500: '#c130ab',
    950: '#000000',
  },
}
SCSS
$custom: #c130ab;
$custom-light: #d878c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c130ab",
  "rgb": {
    "r": 193,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 309.103,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.21983,
    "h": 335.1
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#C130AB
secondary
#81CC8C
accent
#E35D44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C130AB

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

Preview Lab → · Contrast checker → · Palette generator →

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