#C12F6C#C12F6C

#C12F6C is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.187 H 0.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C12F6C
RGBrgb(193, 47, 108)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 75.6%, 44%, 24.3%)
CIE-LABlab(44.88, 60.98, 0.27)
CIE-LCHlch(44.88, 60.98, 0.25°)
OKLaboklab(54.94% 0.1872 0.0014)
OKLCHoklch(54.94% 0.187 0.4)
XYZxyz(25.7176, 14.4566, 15.6206)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F6C #2FC184
analogous
#C12FB5 #C12F6C #C13B2F
triadic
#C12F6C #6CC12F #2F6CC1
tetradic
#C12F6C #B5C12F #2FC184 #3B2FC1
square
#C12F6C #B5C12F #2FC184 #3B2FC1
split-complementary
#C12F6C #2FC13B #2FB5C1
monochromatic
#5F1735 #902350 #C12F6C #D6578C #E288AE

Accessibility & contrast

On white

5.40
#C12F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12F6C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F6C#FFFFFF#000000##FFFFFF
##C12F6C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586D
Deuteranopia (green-blind)
#787469
Tritanopia (blue-blind)
#D1144A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f6c;
/* rgb */ color: rgb(193, 47, 108);
/* oklch */ color: oklch(54.9% 0.187 0.4);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c12f6c',
    950: '#000000',
  },
}
SCSS
$custom: #c12f6c;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f6c",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 334.932,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.18721,
    "h": 0.4
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#C12F6C
secondary
#80CCAC
accent
#E4A144
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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