#C12B9F#C12B9F

#C12B9F is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.7% C 0.217 H 339.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C12B9F
RGBrgb(193, 43, 159)
HSLhsl(314, 64%, 46%)
HSVhsv(314, 78%, 76%)
CMYKcmyk(0%, 77.7%, 17.6%, 24.3%)
CIE-LABlab(46.41, 68.06, -28.44)
CIE-LCHlch(46.41, 73.76, 337.32°)
OKLaboklab(56.68% 0.2026 -0.077)
OKLCHoklch(56.68% 0.217 339.2)
XYZxyz(29.1150, 15.5713, 34.2664)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B9F #2BC14D
analogous
#982BC1 #C12B9F #C12B54
triadic
#C12B9F #9FC12B #2B9FC1
tetradic
#C12B9F #C1982B #2BC14D #2B54C1
square
#C12B9F #C1982B #2BC14D #2B54C1
split-complementary
#C12B9F #54C12B #2BC198
monochromatic
#5D154D #8F2076 #C12B9F #D851BA #E383CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12B9F#FFFFFF#000000##FFFFFF
##C12B9F1.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)
#355FA2
Deuteranopia (green-blind)
#68769C
Tritanopia (blue-blind)
#CC3263
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12b9f;
/* rgb */ color: rgb(193, 43, 159);
/* oklch */ color: oklch(56.7% 0.217 339.2);
Tailwind
colors: {
  custom: {
    50: '#d875bb',
    500: '#c12b9f',
    950: '#000000',
  },
}
SCSS
$custom: #c12b9f;
$custom-light: #d875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b9f",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 313.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.21676,
    "h": 339.2
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#C12B9F
secondary
#7BCC8E
accent
#E76741
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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