#B12754#B12754
#B12754 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.175 H 7.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B12754 |
|---|---|
| RGB | rgb(177, 39, 84) |
| HSL | hsl(340, 64%, 42%) |
| HSV | hsv(340, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 52.5%, 30.6%) |
| CIE-LAB | lab(40.31, 56.92, 8.33) |
| CIE-LCH | lch(40.31, 57.53, 8.33°) |
| OKLab | oklab(50.81% 0.1736 0.0215) |
| OKLCH | oklch(50.81% 0.175 7.1) |
| XYZ | xyz(20.4591, 11.4411, 9.5168) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.90
Raspberry (survey)
#B00149
ΔE00 3.21
Light Burgundy
#A8415B
ΔE00 4.25
Deep Pink
#CB0162
ΔE00 5.12
Violet Red
#A50055
ΔE00 5.93
Ruby
#CA0147
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12754 #27B184
analogous
#B12799 #B12754 #B13F27
triadic
#B12754 #54B127 #2754B1
tetradic
#B12754 #99B127 #27B184 #3F27B1
square
#B12754 #99B127 #27B184 #3F27B1
split-complementary
#B12754 #27B13F #2799B1
monochromatic
#4D1124 #7F1C3C #B12754 #D54071 #E07296
Accessibility & contrast
On white
6.39
#B12754 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B12754 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12754
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12754 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12754; /* rgb */ color: rgb(177, 39, 84); /* oklch */ color: oklch(50.8% 0.175 7.1);
Tailwind
colors: {
custom: {
50: '#cf6f83',
500: '#b12754',
950: '#000000',
},
}SCSS
$custom: #b12754; $custom-light: #cf6f83; $custom-dark: #000000;
JSON
{
"hex": "#b12754",
"rgb": {
"r": 177,
"g": 39,
"b": 84
},
"hsl": {
"h": 340.435,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.5081,
"c": 0.17494,
"h": 7.1
},
"luminance": 0.11438
}Semantic roles & 50–950 ramp
primary
#B12754
secondary
#6DC7AA
accent
#E7B141
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C