#C12A98#C12A98

#C12A98 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 341.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C12A98
RGBrgb(193, 42, 152)
HSLhsl(316, 64%, 46%)
HSVhsv(316, 78%, 76%)
CMYKcmyk(0%, 78.2%, 21.2%, 24.3%)
CIE-LABlab(45.99, 67.41, -24.89)
CIE-LCHlch(45.99, 71.86, 339.73°)
OKLaboklab(56.28% 0.2026 -0.067)
OKLCHoklch(56.28% 0.213 341.7)
XYZxyz(28.4888, 15.2634, 31.1455)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A98 #2AC153
analogous
#9E2AC1 #C12A98 #C12A4D
triadic
#C12A98 #98C12A #2A98C1
tetradic
#C12A98 #C19E2A #2AC153 #2A4DC1
square
#C12A98 #C19E2A #2AC153 #2A4DC1
split-complementary
#C12A98 #4DC12A #2AC19E
monochromatic
#5C1449 #8F1F70 #C12A98 #D94FB3 #E482C9

Accessibility & contrast

On white

5.18
#C12A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C12A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A98
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A98#FFFFFF#000000##FFFFFF
##C12A981.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#CD2D5F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12a98;
/* rgb */ color: rgb(193, 42, 152);
/* oklch */ color: oklch(56.3% 0.213 341.7);
Tailwind
colors: {
  custom: {
    50: '#d875b6',
    500: '#c12a98',
    950: '#000000',
  },
}
SCSS
$custom: #c12a98;
$custom-light: #d875b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a98",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 316.291,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.21333,
    "h": 341.7
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#C12A98
secondary
#7ACD91
accent
#E76E41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C12A98

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

Preview Lab → · Contrast checker → · Palette generator →

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