#C13A9E#C13A9E

#C13A9E is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.9% C 0.200 H 340.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C13A9E
RGBrgb(193, 58, 158)
HSLhsl(316, 54%, 49%)
HSVhsv(316, 70%, 76%)
CMYKcmyk(0%, 69.9%, 18.1%, 24.3%)
CIE-LABlab(48.05, 63.13, -25.29)
CIE-LCHlch(48.05, 68.00, 338.17°)
OKLaboklab(57.86% 0.188 -0.0682)
OKLCHoklch(57.86% 0.2 340.1)
XYZxyz(29.6777, 16.8350, 34.0276)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13A9E #3AC15D
analogous
#A13AC1 #C13A9E #C13A5A
triadic
#C13A9E #9EC13A #3A9EC1
tetradic
#C13A9E #C1A13A #3AC15D #3A5AC1
square
#C13A9E #C1A13A #3AC15D #3A5AC1
split-complementary
#C13A9E #5AC13A #3AC1A1
monochromatic
#631E51 #922C77 #C13A9E #D167B6 #DF96CC

Accessibility & contrast

On white

4.81
#C13A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C13A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C13A9E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C13A9E#FFFFFF#000000##FFFFFF
##C13A9E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A1
Deuteranopia (green-blind)
#6D7A9B
Tritanopia (blue-blind)
#CC3E67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c13a9e;
/* rgb */ color: rgb(193, 58, 158);
/* oklch */ color: oklch(57.9% 0.200 340.1);
Tailwind
colors: {
  custom: {
    50: '#d77bbb',
    500: '#c13a9e',
    950: '#000000',
  },
}
SCSS
$custom: #c13a9e;
$custom-light: #d77bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#c13a9e",
  "rgb": {
    "r": 193,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 315.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.19996,
    "h": 340.1
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#C13A9E
secondary
#8CCB9C
accent
#DD714B
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C13A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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