#B7315A#B7315A
#B7315A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.172 H 7.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B7315A |
|---|---|
| RGB | rgb(183, 49, 90) |
| HSL | hsl(342, 58%, 45%) |
| HSV | hsv(342, 73%, 72%) |
| CMYK | cmyk(0%, 73.2%, 50.8%, 28.2%) |
| CIE-LAB | lab(42.77, 55.86, 8.19) |
| CIE-LCH | lch(42.77, 56.46, 8.34°) |
| OKLab | oklab(52.88% 0.1703 0.0212) |
| OKLCH | oklch(52.88% 0.172 7.1) |
| XYZ | xyz(22.4742, 13.0051, 10.9977) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.45
Deep Pink
#CB0162
ΔE00 4.45
Dark Rose
#B5485D
ΔE00 4.70
Purplish Red
#B0054B
ΔE00 4.98
Raspberry (survey)
#B00149
ΔE00 5.25
Light Maroon
#A24857
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7315A #31B78E
analogous
#B7319D #B7315A #B74B31
triadic
#B7315A #5AB731 #315AB7
tetradic
#B7315A #9DB731 #31B78E #4B31B7
square
#B7315A #9DB731 #31B78E #4B31B7
split-complementary
#B7315A #31B74B #319DB7
monochromatic
#56172B #872442 #B7315A #D1547A #DE84A0
Accessibility & contrast
On white
5.83
#B7315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B7315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7315A
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7315A | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#C71342
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b7315a; /* rgb */ color: rgb(183, 49, 90); /* oklch */ color: oklch(52.9% 0.172 7.1);
Tailwind
colors: {
custom: {
50: '#d27488',
500: '#b7315a',
950: '#000000',
},
}SCSS
$custom: #b7315a; $custom-light: #d27488; $custom-dark: #000000;
JSON
{
"hex": "#b7315a",
"rgb": {
"r": 183,
"g": 49,
"b": 90
},
"hsl": {
"h": 341.642,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.52879,
"c": 0.1716,
"h": 7.1
},
"luminance": 0.13002
}Semantic roles & 50–950 ramp
primary
#B7315A
secondary
#7CC8B1
accent
#E1B247
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C