#C12D98#C12D98

#C12D98 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.210 H 341.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C12D98
RGBrgb(193, 45, 152)
HSLhsl(317, 62%, 47%)
HSVhsv(317, 77%, 76%)
CMYKcmyk(0%, 76.7%, 21.2%, 24.3%)
CIE-LABlab(46.29, 66.56, -24.43)
CIE-LCHlch(46.29, 70.90, 339.84°)
OKLaboklab(56.49% 0.2 -0.0657)
OKLCHoklch(56.49% 0.21 341.8)
XYZxyz(28.5992, 15.4842, 31.1823)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D98 #2DC156
analogous
#A02DC1 #C12D98 #C12D4E
triadic
#C12D98 #98C12D #2D98C1
tetradic
#C12D98 #C1A02D #2DC156 #2D4EC1
square
#C12D98 #C1A02D #2DC156 #2D4EC1
split-complementary
#C12D98 #4EC12D #2DC1A0
monochromatic
#5E164A #8F2171 #C12D98 #D754B3 #E386C9

Accessibility & contrast

On white

5.13
#C12D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C12D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D98
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D98#FFFFFF#000000##FFFFFF
##C12D981.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#CD2F60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12d98;
/* rgb */ color: rgb(193, 45, 152);
/* oklch */ color: oklch(56.5% 0.210 341.8);
Tailwind
colors: {
  custom: {
    50: '#d876b6',
    500: '#c12d98',
    950: '#000000',
  },
}
SCSS
$custom: #c12d98;
$custom-light: #d876b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d98",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 316.622,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.21046,
    "h": 341.8
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#C12D98
secondary
#7ECC93
accent
#E57043
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12D98

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

Preview Lab → · Contrast checker → · Palette generator →

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