#B8306F#B8306F
#B8306F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.180 H 357.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B8306F |
|---|---|
| RGB | rgb(184, 48, 111) |
| HSL | hsl(332, 59%, 45%) |
| HSV | hsv(332, 74%, 72%) |
| CMYK | cmyk(0%, 73.9%, 39.7%, 27.8%) |
| CIE-LAB | lab(43.44, 58.47, -3.90) |
| CIE-LCH | lch(43.44, 58.60, 356.19°) |
| OKLab | oklab(53.61% 0.1795 -0.0095) |
| OKLCH | oklch(53.61% 0.18 357) |
| XYZ | xyz(23.6950, 13.4549, 16.3851) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.12
Deep Pink
#CB0162
ΔE00 5.01
Mediumvioletred
#C71585
ΔE00 5.42
Dark Hot Pink
#D90166
ΔE00 6.84
Light Burgundy
#A8415B
ΔE00 6.99
Dark Pink
#CB416B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8306F #30B879
analogous
#B830B3 #B8306F #B83530
triadic
#B8306F #6FB830 #306FB8
tetradic
#B8306F #B3B830 #30B879 #3530B8
square
#B8306F #B3B830 #30B879 #3530B8
split-complementary
#B8306F #30B835 #30B3B8
monochromatic
#571734 #872352 #B8306F #D2538E #DF84AE
Accessibility & contrast
On white
5.69
#B8306F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#B8306F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8306F
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8306F | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5671
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#C71F4B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b8306f; /* rgb */ color: rgb(184, 48, 111); /* oklch */ color: oklch(53.6% 0.180 357.0);
Tailwind
colors: {
custom: {
50: '#d27498',
500: '#b8306f',
950: '#000000',
},
}SCSS
$custom: #b8306f; $custom-light: #d27498; $custom-dark: #000000;
JSON
{
"hex": "#b8306f",
"rgb": {
"r": 184,
"g": 48,
"b": 111
},
"hsl": {
"h": 332.206,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.53606,
"c": 0.17977,
"h": 357
},
"luminance": 0.13452
}Semantic roles & 50–950 ramp
primary
#B8306F
secondary
#7CC8A5
accent
#E29A46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E