#C12F94#C12F94

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

Color values

HEX#C12F94
RGBrgb(193, 47, 148)
HSLhsl(318, 61%, 47%)
HSVhsv(318, 76%, 76%)
CMYKcmyk(0%, 75.6%, 23.3%, 24.3%)
CIE-LABlab(46.33, 65.44, -21.97)
CIE-LCHlch(46.33, 69.03, 341.44°)
OKLaboklab(56.46% 0.1975 -0.0588)
OKLCHoklch(56.46% 0.206 343.4)
XYZxyz(28.3552, 15.5116, 29.5120)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F94 #2FC15C
analogous
#A52FC1 #C12F94 #C12F4B
triadic
#C12F94 #94C12F #2F94C1
tetradic
#C12F94 #C1A52F #2FC15C #2F4BC1
square
#C12F94 #C1A52F #2FC15C #2F4BC1
split-complementary
#C12F94 #4BC12F #2FC1A5
monochromatic
#5F1749 #90236E #C12F94 #D657AF #E288C6

Accessibility & contrast

On white

5.12
#C12F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12F94
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F94#FFFFFF#000000##FFFFFF
##C12F941.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E97
Deuteranopia (green-blind)
#6D7691
Tritanopia (blue-blind)
#CE2F5E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12f94;
/* rgb */ color: rgb(193, 47, 148);
/* oklch */ color: oklch(56.5% 0.206 343.4);
Tailwind
colors: {
  custom: {
    50: '#d876b3',
    500: '#c12f94',
    950: '#000000',
  },
}
SCSS
$custom: #c12f94;
$custom-light: #d876b3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f94",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 318.493,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.20603,
    "h": 343.4
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12F94

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

Preview Lab → · Contrast checker → · Palette generator →

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