#C12F97#C12F97

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

Color values

HEX#C12F97
RGBrgb(193, 47, 151)
HSLhsl(317, 61%, 47%)
HSVhsv(317, 76%, 76%)
CMYKcmyk(0%, 75.6%, 21.8%, 24.3%)
CIE-LABlab(46.46, 65.83, -23.58)
CIE-LCHlch(46.46, 69.92, 340.30°)
OKLaboklab(56.6% 0.198 -0.0633)
OKLCHoklch(56.6% 0.208 342.3)
XYZxyz(28.5958, 15.6078, 30.7788)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F97 #2FC159
analogous
#A22FC1 #C12F97 #C12F4E
triadic
#C12F97 #97C12F #2F97C1
tetradic
#C12F97 #C1A22F #2FC159 #2F4EC1
square
#C12F97 #C1A22F #2FC159 #2F4EC1
split-complementary
#C12F97 #4EC12F #2FC1A2
monochromatic
#5F174A #902370 #C12F97 #D657B2 #E288C8

Accessibility & contrast

On white

5.10
#C12F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C12F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F97
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F97#FFFFFF#000000##FFFFFF
##C12F971.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12f97;
/* rgb */ color: rgb(193, 47, 151);
/* oklch */ color: oklch(56.6% 0.208 342.3);
Tailwind
colors: {
  custom: {
    50: '#d876b5',
    500: '#c12f97',
    950: '#000000',
  },
}
SCSS
$custom: #c12f97;
$custom-light: #d876b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f97",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 317.26,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.20784,
    "h": 342.3
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#C12F97
secondary
#80CC96
accent
#E47244
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12F97

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

Preview Lab → · Contrast checker → · Palette generator →

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