#B3298E#B3298E
#B3298E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.5% C 0.200 H 341.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B3298E |
|---|---|
| RGB | rgb(179, 41, 142) |
| HSL | hsl(316, 63%, 43%) |
| HSV | hsv(316, 77%, 70%) |
| CMYK | cmyk(0%, 77.1%, 20.7%, 29.8%) |
| CIE-LAB | lab(42.95, 63.10, -23.76) |
| CIE-LCH | lch(42.95, 67.42, 339.36°) |
| OKLab | oklab(53.47% 0.1893 -0.064) |
| OKLCH | oklch(53.47% 0.2 341.3) |
| XYZ | xyz(24.2666, 13.1251, 26.8414) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.66
Ugly Purple
#A442A0
ΔE00 5.66
Magenta (survey)
#C20078
ΔE00 5.93
Warm Purple
#952E8F
ΔE00 6.33
Medium Purple
#9E43A2
ΔE00 6.80
Barney Purple
#A00498
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3298E #29B34E
analogous
#9329B3 #B3298E #B32949
triadic
#B3298E #8EB329 #298EB3
tetradic
#B3298E #B39329 #29B34E #2949B3
square
#B3298E #B39329 #29B34E #2949B3
split-complementary
#B3298E #49B329 #29B393
monochromatic
#4F123F #811E66 #B3298E #D445AE #E077C4
Accessibility & contrast
On white
5.79
#B3298E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#B3298E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3298E
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3298E | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365791
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#BE2C59
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b3298e; /* rgb */ color: rgb(179, 41, 142); /* oklch */ color: oklch(53.5% 0.200 341.3);
Tailwind
colors: {
custom: {
50: '#ce72af',
500: '#b3298e',
950: '#000000',
},
}SCSS
$custom: #b3298e; $custom-light: #ce72af; $custom-dark: #000000;
JSON
{
"hex": "#b3298e",
"rgb": {
"r": 179,
"g": 41,
"b": 142
},
"hsl": {
"h": 316.087,
"s": 62.727,
"l": 43.137
},
"oklch": {
"l": 0.53473,
"c": 0.19977,
"h": 341.3
},
"luminance": 0.13123
}Semantic roles & 50–950 ramp
primary
#B3298E
secondary
#70C788
accent
#E66E42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F