#C12F6D#C12F6D

#C12F6D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.188 H 360.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C12F6D
RGBrgb(193, 47, 109)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 75.6%, 43.5%, 24.3%)
CIE-LABlab(44.91, 61.07, -0.31)
CIE-LCHlch(44.91, 61.07, 359.71°)
OKLaboklab(54.97% 0.1875 -0.0001)
OKLCHoklch(54.97% 0.188 0)
XYZxyz(25.7711, 14.4780, 15.9025)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F6D #2FC183
analogous
#C12FB6 #C12F6D #C13A2F
triadic
#C12F6D #6DC12F #2F6DC1
tetradic
#C12F6D #B6C12F #2FC183 #3A2FC1
square
#C12F6D #B6C12F #2FC183 #3A2FC1
split-complementary
#C12F6D #2FC13A #2FB6C1
monochromatic
#5F1735 #902351 #C12F6D #D6578D #E288AE

Accessibility & contrast

On white

5.39
#C12F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C12F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F6D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F6D#FFFFFF#000000##FFFFFF
##C12F6D1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586F
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#D1144A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f6d;
/* rgb */ color: rgb(193, 47, 109);
/* oklch */ color: oklch(55.0% 0.188 360.0);
Tailwind
colors: {
  custom: {
    50: '#d97596',
    500: '#c12f6d',
    950: '#000000',
  },
}
SCSS
$custom: #c12f6d;
$custom-light: #d97596;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f6d",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 334.521,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.18753,
    "h": 360
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#C12F6D
secondary
#80CCAC
accent
#E4A044
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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