#C12A5C#C12A5C

#C12A5C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.188 H 7.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C12A5C
RGBrgb(193, 42, 92)
HSLhsl(340, 64%, 46%)
HSVhsv(340, 78%, 76%)
CMYKcmyk(0%, 78.2%, 52.3%, 24.3%)
CIE-LABlab(43.90, 61.11, 8.80)
CIE-LCHlch(43.90, 61.74, 8.19°)
OKLaboklab(54.07% 0.1864 0.0227)
OKLCHoklch(54.07% 0.188 7)
XYZxyz(24.7543, 13.7696, 11.4775)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A5C #2AC18F
analogous
#C12AA7 #C12A5C #C1432A
triadic
#C12A5C #5CC12A #2A5CC1
tetradic
#C12A5C #A7C12A #2AC18F #432AC1
square
#C12A5C #A7C12A #2AC18F #432AC1
split-complementary
#C12A5C #2AC143 #2AA7C1
monochromatic
#5C142C #8F1F44 #C12A5C #D94F7D #E482A2

Accessibility & contrast

On white

5.60
#C12A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C12A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A5C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A5C#FFFFFF#000000##FFFFFF
##C12A5C1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555D
Deuteranopia (green-blind)
#797358
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12a5c;
/* rgb */ color: rgb(193, 42, 92);
/* oklch */ color: oklch(54.1% 0.188 7.0);
Tailwind
colors: {
  custom: {
    50: '#da7389',
    500: '#c12a5c',
    950: '#000000',
  },
}
SCSS
$custom: #c12a5c;
$custom-light: #da7389;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a5c",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 340.132,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.18782,
    "h": 7
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#C12A5C
secondary
#7ACDB1
accent
#E7B041
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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