#B7315D#B7315D
#B7315D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.172 H 5.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B7315D |
|---|---|
| RGB | rgb(183, 49, 93) |
| HSL | hsl(340, 58%, 45%) |
| HSV | hsv(340, 73%, 72%) |
| CMYK | cmyk(0%, 73.2%, 49.2%, 28.2%) |
| CIE-LAB | lab(42.85, 56.12, 6.42) |
| CIE-LCH | lch(42.85, 56.49, 6.53°) |
| OKLab | oklab(52.96% 0.1714 0.0169) |
| OKLCH | oklch(52.96% 0.172 5.6) |
| XYZ | xyz(22.6044, 13.0573, 11.6838) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.61
Deep Pink
#CB0162
ΔE00 4.05
Dark Rose
#B5485D
ΔE00 5.13
Purplish Red
#B0054B
ΔE00 5.21
Raspberry (survey)
#B00149
ΔE00 5.54
Dark Hot Pink
#D90166
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7315D #31B78B
analogous
#B731A0 #B7315D #B74831
triadic
#B7315D #5DB731 #315DB7
tetradic
#B7315D #A0B731 #31B78B #4831B7
square
#B7315D #A0B731 #31B78B #4831B7
split-complementary
#B7315D #31B748 #31A0B7
monochromatic
#56172C #872444 #B7315D #D1547D #DE84A2
Accessibility & contrast
On white
5.82
#B7315D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#B7315D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7315D
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7315D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7315D | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51545E
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#C71543
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b7315d; /* rgb */ color: rgb(183, 49, 93); /* oklch */ color: oklch(53.0% 0.172 5.6);
Tailwind
colors: {
custom: {
50: '#d2748a',
500: '#b7315d',
950: '#000000',
},
}SCSS
$custom: #b7315d; $custom-light: #d2748a; $custom-dark: #000000;
JSON
{
"hex": "#b7315d",
"rgb": {
"r": 183,
"g": 49,
"b": 93
},
"hsl": {
"h": 340.299,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.52963,
"c": 0.17222,
"h": 5.6
},
"luminance": 0.13054
}Semantic roles & 50–950 ramp
primary
#B7315D
secondary
#7CC8AF
accent
#E1AE47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C