#C1256F#C1256F
#C1256F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.197 H 358.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C1256F |
|---|---|
| RGB | rgb(193, 37, 111) |
| HSL | hsl(332, 68%, 45%) |
| HSV | hsv(332, 81%, 76%) |
| CMYK | cmyk(0%, 80.8%, 42.5%, 24.3%) |
| CIE-LAB | lab(43.96, 64.13, -2.94) |
| CIE-LCH | lch(43.96, 64.20, 357.38°) |
| OKLab | oklab(54.29% 0.1974 -0.0069) |
| OKLCH | oklch(54.29% 0.197 358) |
| XYZ | xyz(25.5251, 13.8117, 16.3577) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.69
Deep Pink
#CB0162
ΔE00 3.78
Mediumvioletred
#C71585
ΔE00 5.08
Dark Hot Pink
#D90166
ΔE00 5.49
Dark Pink
#CB416B
ΔE00 6.91
Cerise
#DE0C62
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1256F #25C177
analogous
#C125BD #C1256F #C12925
triadic
#C1256F #6FC125 #256FC1
tetradic
#C1256F #BDC125 #25C177 #2925C1
square
#C1256F #BDC125 #25C177 #2925C1
split-complementary
#C1256F #25C129 #25BDC1
monochromatic
#5A1134 #8E1B51 #C1256F #DC478E #E67BAD
Accessibility & contrast
On white
5.58
#C1256F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#C1256F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C1256F
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C1256F | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#74726C
Tritanopia (blue-blind)
#D10047
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c1256f; /* rgb */ color: rgb(193, 37, 111); /* oklch */ color: oklch(54.3% 0.197 358.0);
Tailwind
colors: {
custom: {
50: '#d97198',
500: '#c1256f',
950: '#000000',
},
}SCSS
$custom: #c1256f; $custom-light: #d97198; $custom-dark: #000000;
JSON
{
"hex": "#c1256f",
"rgb": {
"r": 193,
"g": 37,
"b": 111
},
"hsl": {
"h": 331.538,
"s": 67.826,
"l": 45.098
},
"oklch": {
"l": 0.54292,
"c": 0.19749,
"h": 358
},
"luminance": 0.13808
}Semantic roles & 50–950 ramp
primary
#C1256F
secondary
#74CEA3
accent
#EB983D
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E