#C130B2#C130B2

#C130B2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.225 H 332.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C130B2
RGBrgb(193, 48, 178)
HSLhsl(306, 60%, 47%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 75.1%, 7.8%, 24.3%)
CIE-LABlab(47.84, 69.32, -37.45)
CIE-LCHlch(47.84, 78.79, 331.62°)
OKLaboklab(58.01% 0.1998 -0.1029)
OKLCHoklch(58.01% 0.225 332.7)
XYZxyz(31.0853, 16.6683, 43.6910)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C130B2 #30C13F
analogous
#8830C1 #C130B2 #C13069
triadic
#C130B2 #B2C130 #30B2C1
tetradic
#C130B2 #C18830 #30C13F #3069C1
square
#C130B2 #C18830 #30C13F #3069C1
split-complementary
#C130B2 #69C130 #30C188
monochromatic
#5F1858 #902485 #C130B2 #D659C9 #E28AD9

Accessibility & contrast

On white

4.85
#C130B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C130B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C130B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C130B2#FFFFFF#000000##FFFFFF
##C130B21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#CA406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c130b2;
/* rgb */ color: rgb(193, 48, 178);
/* oklch */ color: oklch(58.0% 0.225 332.7);
Tailwind
colors: {
  custom: {
    50: '#d878c9',
    500: '#c130b2',
    950: '#000000',
  },
}
SCSS
$custom: #c130b2;
$custom-light: #d878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c130b2",
  "rgb": {
    "r": 193,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 306.207,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.22471,
    "h": 332.7
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#C130B2
secondary
#81CC89
accent
#E35544
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C130B2

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

Preview Lab → · Contrast checker → · Palette generator →

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