#C12F95#C12F95

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

Color values

HEX#C12F95
RGBrgb(193, 47, 149)
HSLhsl(318, 61%, 47%)
HSVhsv(318, 76%, 76%)
CMYKcmyk(0%, 75.6%, 22.8%, 24.3%)
CIE-LABlab(46.37, 65.57, -22.51)
CIE-LCHlch(46.37, 69.33, 341.05°)
OKLaboklab(56.51% 0.1976 -0.0603)
OKLCHoklch(56.51% 0.207 343)
XYZxyz(28.4347, 15.5434, 29.9306)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F95 #2FC15B
analogous
#A42FC1 #C12F95 #C12F4C
triadic
#C12F95 #95C12F #2F95C1
tetradic
#C12F95 #C1A42F #2FC15B #2F4CC1
square
#C12F95 #C1A42F #2FC15B #2F4CC1
split-complementary
#C12F95 #4CC12F #2FC1A4
monochromatic
#5F1749 #90236F #C12F95 #D657B0 #E288C7

Accessibility & contrast

On white

5.11
#C12F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C12F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F95
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F95#FFFFFF#000000##FFFFFF
##C12F951.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#6D7692
Tritanopia (blue-blind)
#CD305F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12f95;
/* rgb */ color: rgb(193, 47, 149);
/* oklch */ color: oklch(56.5% 0.207 343.0);
Tailwind
colors: {
  custom: {
    50: '#d876b4',
    500: '#c12f95',
    950: '#000000',
  },
}
SCSS
$custom: #c12f95;
$custom-light: #d876b4;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f95",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 318.082,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.20663,
    "h": 343
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#C12F95
secondary
#80CC97
accent
#E47444
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12F95

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

Preview Lab → · Contrast checker → · Palette generator →

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