#C13271#C13271

#C13271 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.186 H 358.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C13271
RGBrgb(193, 50, 113)
HSLhsl(334, 59%, 48%)
HSVhsv(334, 74%, 76%)
CMYKcmyk(0%, 74.1%, 41.5%, 24.3%)
CIE-LABlab(45.38, 60.49, -2.09)
CIE-LCHlch(45.38, 60.53, 358.02°)
OKLaboklab(55.35% 0.1857 -0.0047)
OKLCHoklch(55.35% 0.186 358.5)
XYZxyz(26.1155, 14.8142, 17.1038)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13271 #32C182
analogous
#C132B9 #C13271 #C13A32
triadic
#C13271 #71C132 #3271C1
tetradic
#C13271 #B9C132 #32C182 #3A32C1
square
#C13271 #B9C132 #32C182 #3A32C1
split-complementary
#C13271 #32C13A #32B9C1
monochromatic
#601938 #902555 #C13271 #D55C91 #E18CB2

Accessibility & contrast

On white

5.30
#C13271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C13271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C13271
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C13271#FFFFFF#000000##FFFFFF
##C132711.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D11D4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c13271;
/* rgb */ color: rgb(193, 50, 113);
/* oklch */ color: oklch(55.4% 0.186 358.5);
Tailwind
colors: {
  custom: {
    50: '#d97699',
    500: '#c13271',
    950: '#000000',
  },
}
SCSS
$custom: #c13271;
$custom-light: #d97699;
$custom-dark: #000000;
JSON
{
  "hex": "#c13271",
  "rgb": {
    "r": 193,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 333.566,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.18579,
    "h": 358.5
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#C13271
secondary
#83CBAC
accent
#E29D46
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C13271

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

Preview Lab → · Contrast checker → · Palette generator →

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