#C12F98#C12F98

#C12F98 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.6% C 0.208 H 341.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C12F98
RGBrgb(193, 47, 152)
HSLhsl(317, 61%, 47%)
HSVhsv(317, 76%, 76%)
CMYKcmyk(0%, 75.6%, 21.2%, 24.3%)
CIE-LABlab(46.50, 65.96, -24.11)
CIE-LCHlch(46.50, 70.23, 339.92°)
OKLaboklab(56.65% 0.1981 -0.0648)
OKLCHoklch(56.65% 0.208 341.9)
XYZxyz(28.6773, 15.6405, 31.2083)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F98 #2FC158
analogous
#A12FC1 #C12F98 #C12F4F
triadic
#C12F98 #98C12F #2F98C1
tetradic
#C12F98 #C1A12F #2FC158 #2F4FC1
square
#C12F98 #C1A12F #2FC158 #2F4FC1
split-complementary
#C12F98 #4FC12F #2FC1A1
monochromatic
#5F174A #902371 #C12F98 #D657B2 #E288C9

Accessibility & contrast

On white

5.09
#C12F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C12F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F98
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F98#FFFFFF#000000##FFFFFF
##C12F981.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#6C7795
Tritanopia (blue-blind)
#CD3160
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12f98;
/* rgb */ color: rgb(193, 47, 152);
/* oklch */ color: oklch(56.6% 0.208 341.9);
Tailwind
colors: {
  custom: {
    50: '#d876b6',
    500: '#c12f98',
    950: '#000000',
  },
}
SCSS
$custom: #c12f98;
$custom-light: #d876b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f98",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 316.849,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.20845,
    "h": 341.9
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#C12F98
secondary
#80CC95
accent
#E47144
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12F98

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

Preview Lab → · Contrast checker → · Palette generator →

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