#B1275F#B1275F
#B1275F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.178 H 1.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B1275F |
|---|---|
| RGB | rgb(177, 39, 95) |
| HSL | hsl(336, 64%, 42%) |
| HSV | hsv(336, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 46.3%, 30.6%) |
| CIE-LAB | lab(40.62, 57.87, 1.82) |
| CIE-LCH | lch(40.62, 57.90, 1.80°) |
| OKLab | oklab(51.13% 0.1776 0.0053) |
| OKLCH | oklch(51.13% 0.178 1.7) |
| XYZ | xyz(20.9243, 11.6272, 11.9667) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.50
Violet Red
#A50055
ΔE00 4.70
Purplish Red
#B0054B
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 5.28
Raspberry (survey)
#B00149
ΔE00 5.29
Deep Magenta
#A0025C
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1275F #27B179
analogous
#B127A4 #B1275F #B13427
triadic
#B1275F #5FB127 #275FB1
tetradic
#B1275F #A4B127 #27B179 #3427B1
square
#B1275F #A4B127 #27B179 #3427B1
split-complementary
#B1275F #27B134 #27A4B1
monochromatic
#4D1129 #7F1C44 #B1275F #D5407D #E0729F
Accessibility & contrast
On white
6.32
#B1275F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B1275F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1275F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1275F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1275F | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#C00440
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b1275f; /* rgb */ color: rgb(177, 39, 95); /* oklch */ color: oklch(51.1% 0.178 1.7);
Tailwind
colors: {
custom: {
50: '#ce6f8c',
500: '#b1275f',
950: '#000000',
},
}SCSS
$custom: #b1275f; $custom-light: #ce6f8c; $custom-dark: #000000;
JSON
{
"hex": "#b1275f",
"rgb": {
"r": 177,
"g": 39,
"b": 95
},
"hsl": {
"h": 335.652,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.51132,
"c": 0.17768,
"h": 1.7
},
"luminance": 0.11624
}Semantic roles & 50–950 ramp
primary
#B1275F
secondary
#6DC7A2
accent
#E7A441
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D