#B2275A#B2275A
#B2275A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.177 H 4.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B2275A |
|---|---|
| RGB | rgb(178, 39, 90) |
| HSL | hsl(338, 64%, 43%) |
| HSV | hsv(338, 78%, 70%) |
| CMYK | cmyk(0%, 78.1%, 49.4%, 30.2%) |
| CIE-LAB | lab(40.67, 57.70, 5.07) |
| CIE-LCH | lch(40.67, 57.92, 5.02°) |
| OKLab | oklab(51.16% 0.1766 0.0135) |
| OKLCH | oklch(51.16% 0.177 4.4) |
| XYZ | xyz(20.9329, 11.6571, 10.8186) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.75
Raspberry (survey)
#B00149
ΔE00 4.19
Deep Pink
#CB0162
ΔE00 4.36
Light Burgundy
#A8415B
ΔE00 4.55
Violet Red
#A50055
ΔE00 5.23
Berry
#990F4B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2275A #27B27F
analogous
#B2279F #B2275A #B23A27
triadic
#B2275A #5AB227 #275AB2
tetradic
#B2275A #9FB227 #27B27F #3A27B2
square
#B2275A #9FB227 #27B27F #3A27B2
split-complementary
#B2275A #27B23A #279FB2
monochromatic
#4E1127 #801C41 #B2275A #D54177 #E0739B
Accessibility & contrast
On white
6.30
#B2275A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B2275A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2275A
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2275A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2275A | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b2275a; /* rgb */ color: rgb(178, 39, 90); /* oklch */ color: oklch(51.2% 0.177 4.4);
Tailwind
colors: {
custom: {
50: '#cf6f88',
500: '#b2275a',
950: '#000000',
},
}SCSS
$custom: #b2275a; $custom-light: #cf6f88; $custom-dark: #000000;
JSON
{
"hex": "#b2275a",
"rgb": {
"r": 178,
"g": 39,
"b": 90
},
"hsl": {
"h": 337.986,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.51156,
"c": 0.17715,
"h": 4.4
},
"luminance": 0.11654
}Semantic roles & 50–950 ramp
primary
#B2275A
secondary
#6DC8A6
accent
#E7AA41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C