#B7315F#B7315F
#B7315F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 4.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B7315F |
|---|---|
| RGB | rgb(183, 49, 95) |
| HSL | hsl(339, 58%, 45%) |
| HSV | hsv(339, 73%, 72%) |
| CMYK | cmyk(0%, 73.2%, 48.1%, 28.2%) |
| CIE-LAB | lab(42.90, 56.30, 5.25) |
| CIE-LCH | lch(42.90, 56.54, 5.33°) |
| OKLab | oklab(53.02% 0.1721 0.014) |
| OKLCH | oklch(53.02% 0.173 4.6) |
| XYZ | xyz(22.6942, 13.0931, 12.1564) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.82
Deep Pink
#CB0162
ΔE00 3.88
Purplish Red
#B0054B
ΔE00 5.44
Dark Rose
#B5485D
ΔE00 5.48
Dark Hot Pink
#D90166
ΔE00 5.78
Raspberry (survey)
#B00149
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7315F #31B789
analogous
#B731A2 #B7315F #B74631
triadic
#B7315F #5FB731 #315FB7
tetradic
#B7315F #A2B731 #31B789 #4631B7
square
#B7315F #A2B731 #31B789 #4631B7
split-complementary
#B7315F #31B746 #31A2B7
monochromatic
#56172D #872446 #B7315F #D1547F #DE84A3
Accessibility & contrast
On white
5.80
#B7315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#B7315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7315F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7315F | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505460
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#C71744
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b7315f; /* rgb */ color: rgb(183, 49, 95); /* oklch */ color: oklch(53.0% 0.173 4.6);
Tailwind
colors: {
custom: {
50: '#d2748c',
500: '#b7315f',
950: '#000000',
},
}SCSS
$custom: #b7315f; $custom-light: #d2748c; $custom-dark: #000000;
JSON
{
"hex": "#b7315f",
"rgb": {
"r": 183,
"g": 49,
"b": 95
},
"hsl": {
"h": 339.403,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.5302,
"c": 0.1727,
"h": 4.6
},
"luminance": 0.1309
}Semantic roles & 50–950 ramp
primary
#B7315F
secondary
#7CC8AE
accent
#E1AC47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D