#B1315F#B1315F
#B1315F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.167 H 3.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B1315F |
|---|---|
| RGB | rgb(177, 49, 95) |
| HSL | hsl(338, 57%, 44%) |
| HSV | hsv(338, 72%, 69%) |
| CMYK | cmyk(0%, 72.3%, 46.3%, 30.6%) |
| CIE-LAB | lab(41.80, 54.54, 3.53) |
| CIE-LCH | lch(41.80, 54.66, 3.70°) |
| OKLab | oklab(52.01% 0.1669 0.0097) |
| OKLCH | oklch(52.01% 0.167 3.3) |
| XYZ | xyz(21.2970, 12.3727, 12.0909) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.78
Deep Pink
#CB0162
ΔE00 4.62
Purplish Red
#B0054B
ΔE00 5.21
Raspberry (survey)
#B00149
ΔE00 5.63
Violet Red
#A50055
ΔE00 6.13
Dark Rose
#B5485D
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1315F #31B183
analogous
#B1319F #B1315F #B14331
triadic
#B1315F #5FB131 #315FB1
tetradic
#B1315F #9FB131 #31B183 #4331B1
square
#B1315F #9FB131 #31B183 #4331B1
split-complementary
#B1315F #31B143 #319FB1
monochromatic
#51162C #812445 #B1315F #CF517E #DC80A1
Accessibility & contrast
On white
6.04
#B1315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B1315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1315F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1315F | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C01B44
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b1315f; /* rgb */ color: rgb(177, 49, 95); /* oklch */ color: oklch(52.0% 0.167 3.3);
Tailwind
colors: {
custom: {
50: '#ce738c',
500: '#b1315f',
950: '#000000',
},
}SCSS
$custom: #b1315f; $custom-light: #ce738c; $custom-dark: #000000;
JSON
{
"hex": "#b1315f",
"rgb": {
"r": 177,
"g": 49,
"b": 95
},
"hsl": {
"h": 338.438,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.52005,
"c": 0.16721,
"h": 3.3
},
"luminance": 0.1237
}Semantic roles & 50–950 ramp
primary
#B1315F
secondary
#79C5AA
accent
#E0A948
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D