#B2255A#B2255A
#B2255A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 4.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B2255A |
|---|---|
| RGB | rgb(178, 37, 90) |
| HSL | hsl(337, 66%, 42%) |
| HSV | hsv(337, 79%, 70%) |
| CMYK | cmyk(0%, 79.2%, 49.4%, 30.2%) |
| CIE-LAB | lab(40.46, 58.29, 4.77) |
| CIE-LCH | lch(40.46, 58.48, 4.68°) |
| OKLab | oklab(51% 0.1785 0.0127) |
| OKLCH | oklch(51% 0.179 4.1) |
| XYZ | xyz(20.8690, 11.5292, 10.7973) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 4.12
Deep Pink
#CB0162
ΔE00 4.35
Light Burgundy
#A8415B
ΔE00 4.81
Violet Red
#A50055
ΔE00 4.97
Berry
#990F4B
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2255A #25B27D
analogous
#B225A0 #B2255A #B23725
triadic
#B2255A #5AB225 #255AB2
tetradic
#B2255A #A0B225 #25B27D #3725B2
square
#B2255A #A0B225 #25B27D #3725B2
split-complementary
#B2255A #25B237 #25A0B2
monochromatic
#4D1027 #7F1A40 #B2255A #D73D77 #E1709B
Accessibility & contrast
On white
6.35
#B2255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B2255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2255A
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2255A | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b2255a; /* rgb */ color: rgb(178, 37, 90); /* oklch */ color: oklch(51.0% 0.179 4.1);
Tailwind
colors: {
custom: {
50: '#cf6e88',
500: '#b2255a',
950: '#000000',
},
}SCSS
$custom: #b2255a; $custom-light: #cf6e88; $custom-dark: #000000;
JSON
{
"hex": "#b2255a",
"rgb": {
"r": 178,
"g": 37,
"b": 90
},
"hsl": {
"h": 337.447,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.51003,
"c": 0.17898,
"h": 4.1
},
"luminance": 0.11526
}Semantic roles & 50–950 ramp
primary
#B2255A
secondary
#6BC8A5
accent
#E9A93F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C