#C13A8B#C13A8B

#C13A8B is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.188 H 347.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C13A8B
RGBrgb(193, 58, 139)
HSLhsl(324, 54%, 49%)
HSVhsv(324, 70%, 76%)
CMYKcmyk(0%, 69.9%, 28%, 24.3%)
CIE-LABlab(47.28, 60.61, -15.10)
CIE-LCHlch(47.28, 62.46, 346.01°)
OKLaboklab(57.04% 0.1842 -0.0397)
OKLCHoklch(57.04% 0.188 347.8)
XYZxyz(28.1669, 16.2307, 26.0706)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13A8B #3AC170
analogous
#B43AC1 #C13A8B #C13A48
triadic
#C13A8B #8BC13A #3A8BC1
tetradic
#C13A8B #C1B43A #3AC170 #3A48C1
square
#C13A8B #C1B43A #3AC170 #3A48C1
split-complementary
#C13A8B #48C13A #3AC1B4
monochromatic
#631E47 #922C69 #C13A8B #D167A7 #DF96C2

Accessibility & contrast

On white

4.95
#C13A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C13A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C13A8B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C13A8B#FFFFFF#000000##FFFFFF
##C13A8B1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#CE355D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c13a8b;
/* rgb */ color: rgb(193, 58, 139);
/* oklch */ color: oklch(57.0% 0.188 347.8);
Tailwind
colors: {
  custom: {
    50: '#d87bad',
    500: '#c13a8b',
    950: '#000000',
  },
}
SCSS
$custom: #c13a8b;
$custom-light: #d87bad;
$custom-dark: #000000;
JSON
{
  "hex": "#c13a8b",
  "rgb": {
    "r": 193,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 324,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.18844,
    "h": 347.8
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#C13A8B
secondary
#8CCBA5
accent
#DD854B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C13A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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