#B2295F#B2295F
#B2295F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 2.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B2295F |
|---|---|
| RGB | rgb(178, 41, 95) |
| HSL | hsl(336, 63%, 43%) |
| HSV | hsv(336, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 46.6%, 30.2%) |
| CIE-LAB | lab(41.02, 57.53, 2.43) |
| CIE-LCH | lch(41.02, 57.58, 2.42°) |
| OKLab | oklab(51.47% 0.1764 0.0069) |
| OKLCH | oklch(51.47% 0.177 2.2) |
| XYZ | xyz(21.2203, 11.8799, 11.9999) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.29
Purplish Red
#B0054B
ΔE00 4.83
Light Burgundy
#A8415B
ΔE00 4.94
Violet Red
#A50055
ΔE00 5.12
Raspberry (survey)
#B00149
ΔE00 5.29
Magenta (survey)
#C20078
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2295F #29B27C
analogous
#B229A4 #B2295F #B23729
triadic
#B2295F #5FB229 #295FB2
tetradic
#B2295F #A4B229 #29B27C #3729B2
square
#B2295F #A4B229 #29B27C #3729B2
split-complementary
#B2295F #29B237 #29A4B2
monochromatic
#4F122A #801E44 #B2295F #D4447D #DF76A0
Accessibility & contrast
On white
6.22
#B2295F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B2295F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2295F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2295F | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6E6A5C
Tritanopia (blue-blind)
#C20941
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b2295f; /* rgb */ color: rgb(178, 41, 95); /* oklch */ color: oklch(51.5% 0.177 2.2);
Tailwind
colors: {
custom: {
50: '#cf708c',
500: '#b2295f',
950: '#000000',
},
}SCSS
$custom: #b2295f; $custom-light: #cf708c; $custom-dark: #000000;
JSON
{
"hex": "#b2295f",
"rgb": {
"r": 178,
"g": 41,
"b": 95
},
"hsl": {
"h": 336.35,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.51466,
"c": 0.17657,
"h": 2.2
},
"luminance": 0.11877
}Semantic roles & 50–950 ramp
primary
#B2295F
secondary
#70C7A5
accent
#E6A542
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D