#B2295A#B2295A
#B2295A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 4.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B2295A |
|---|---|
| RGB | rgb(178, 41, 90) |
| HSL | hsl(339, 63%, 43%) |
| HSV | hsv(339, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 49.4%, 30.2%) |
| CIE-LAB | lab(40.88, 57.09, 5.38) |
| CIE-LCH | lch(40.88, 57.34, 5.38°) |
| OKLab | oklab(51.32% 0.1747 0.0143) |
| OKLCH | oklch(51.32% 0.175 4.7) |
| XYZ | xyz(21.0003, 11.7919, 10.8411) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.86
Raspberry (survey)
#B00149
ΔE00 4.28
Light Burgundy
#A8415B
ΔE00 4.28
Deep Pink
#CB0162
ΔE00 4.40
Violet Red
#A50055
ΔE00 5.50
Berry
#990F4B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2295A #29B281
analogous
#B2299E #B2295A #B23C29
triadic
#B2295A #5AB229 #295AB2
tetradic
#B2295A #9EB229 #29B281 #3C29B2
square
#B2295A #9EB229 #29B281 #3C29B2
split-complementary
#B2295A #29B23C #299EB2
monochromatic
#4F1228 #801E41 #B2295A #D44478 #DF769C
Accessibility & contrast
On white
6.25
#B2295A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B2295A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2295A
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2295A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2295A | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C2033E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b2295a; /* rgb */ color: rgb(178, 41, 90); /* oklch */ color: oklch(51.3% 0.175 4.7);
Tailwind
colors: {
custom: {
50: '#cf7088',
500: '#b2295a',
950: '#000000',
},
}SCSS
$custom: #b2295a; $custom-light: #cf7088; $custom-dark: #000000;
JSON
{
"hex": "#b2295a",
"rgb": {
"r": 178,
"g": 41,
"b": 90
},
"hsl": {
"h": 338.54,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.51316,
"c": 0.17524,
"h": 4.7
},
"luminance": 0.11789
}Semantic roles & 50–950 ramp
primary
#B2295A
secondary
#70C7A8
accent
#E6AB42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C