#C130AF#C130AF

#C130AF is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.223 H 333.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C130AF
RGBrgb(193, 48, 175)
HSLhsl(307, 60%, 47%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 75.1%, 9.3%, 24.3%)
CIE-LABlab(47.69, 68.87, -35.92)
CIE-LCHlch(47.69, 77.68, 332.45°)
OKLaboklab(57.85% 0.1996 -0.0985)
OKLCHoklch(57.85% 0.223 333.7)
XYZxyz(30.7874, 16.5492, 42.1220)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C130AF #30C142
analogous
#8A30C1 #C130AF #C13067
triadic
#C130AF #AFC130 #30AFC1
tetradic
#C130AF #C18A30 #30C142 #3067C1
square
#C130AF #C18A30 #30C142 #3067C1
split-complementary
#C130AF #67C130 #30C18A
monochromatic
#5F1856 #902483 #C130AF #D659C6 #E28AD7

Accessibility & contrast

On white

4.87
#C130AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C130AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C130AF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C130AF#FFFFFF#000000##FFFFFF
##C130AF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#CA3F6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c130af;
/* rgb */ color: rgb(193, 48, 175);
/* oklch */ color: oklch(57.9% 0.223 333.7);
Tailwind
colors: {
  custom: {
    50: '#d878c7',
    500: '#c130af',
    950: '#000000',
  },
}
SCSS
$custom: #c130af;
$custom-light: #d878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c130af",
  "rgb": {
    "r": 193,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 307.448,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.22261,
    "h": 333.7
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#C130AF
secondary
#81CC8A
accent
#E35844
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C130AF

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

Preview Lab → · Contrast checker → · Palette generator →

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