#C12F8B#C12F8B

#C12F8B is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.201 H 347.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C12F8B
RGBrgb(193, 47, 139)
HSLhsl(322, 61%, 47%)
HSVhsv(322, 76%, 76%)
CMYKcmyk(0%, 75.6%, 28%, 24.3%)
CIE-LABlab(45.96, 64.32, -17.10)
CIE-LCHlch(45.96, 66.56, 345.11°)
OKLaboklab(56.08% 0.1957 -0.0452)
OKLCHoklch(56.08% 0.201 347)
XYZxyz(27.6704, 15.2377, 25.9051)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F8B #2FC165
analogous
#AE2FC1 #C12F8B #C12F42
triadic
#C12F8B #8BC12F #2F8BC1
tetradic
#C12F8B #C1AE2F #2FC165 #2F42C1
square
#C12F8B #C1AE2F #2FC165 #2F42C1
split-complementary
#C12F8B #42C12F #2FC1AE
monochromatic
#5F1744 #902368 #C12F8B #D657A7 #E288C1

Accessibility & contrast

On white

5.19
#C12F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C12F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F8B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F8B#FFFFFF#000000##FFFFFF
##C12F8B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#CF2A59
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12f8b;
/* rgb */ color: rgb(193, 47, 139);
/* oklch */ color: oklch(56.1% 0.201 347.0);
Tailwind
colors: {
  custom: {
    50: '#d876ad',
    500: '#c12f8b',
    950: '#000000',
  },
}
SCSS
$custom: #c12f8b;
$custom-light: #d876ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f8b",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 322.192,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.20089,
    "h": 347
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#C12F8B
secondary
#80CC9C
accent
#E47F44
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C12F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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