#B2295B#B2295B
#B2295B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 4.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B2295B |
|---|---|
| RGB | rgb(178, 41, 91) |
| HSL | hsl(338, 63%, 43%) |
| HSV | hsv(338, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 48.9%, 30.2%) |
| CIE-LAB | lab(40.91, 57.17, 4.79) |
| CIE-LCH | lch(40.91, 57.37, 4.79°) |
| OKLab | oklab(51.35% 0.175 0.0128) |
| OKLCH | oklch(51.35% 0.175 4.2) |
| XYZ | xyz(21.0432, 11.8091, 11.0668) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.03
Deep Pink
#CB0162
ΔE00 4.34
Light Burgundy
#A8415B
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 4.46
Violet Red
#A50055
ΔE00 5.40
Berry
#990F4B
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2295B #29B280
analogous
#B2299F #B2295B #B23B29
triadic
#B2295B #5BB229 #295BB2
tetradic
#B2295B #9FB229 #29B280 #3B29B2
square
#B2295B #9FB229 #29B280 #3B29B2
split-complementary
#B2295B #29B23B #299FB2
monochromatic
#4F1228 #801E42 #B2295B #D44479 #DF769C
Accessibility & contrast
On white
6.25
#B2295B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B2295B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2295B
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2295B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2295B | 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)
#4B4F5C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#C2043F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b2295b; /* rgb */ color: rgb(178, 41, 91); /* oklch */ color: oklch(51.3% 0.175 4.2);
Tailwind
colors: {
custom: {
50: '#cf7089',
500: '#b2295b',
950: '#000000',
},
}SCSS
$custom: #b2295b; $custom-light: #cf7089; $custom-dark: #000000;
JSON
{
"hex": "#b2295b",
"rgb": {
"r": 178,
"g": 41,
"b": 91
},
"hsl": {
"h": 338.102,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.51345,
"c": 0.17549,
"h": 4.2
},
"luminance": 0.11806
}Semantic roles & 50–950 ramp
primary
#B2295B
secondary
#70C7A7
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C