#B0226D#B0226D
#B0226D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.187 H 354.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B0226D |
|---|---|
| RGB | rgb(176, 34, 109) |
| HSL | hsl(328, 68%, 41%) |
| HSV | hsv(328, 81%, 69%) |
| CMYK | cmyk(0%, 80.7%, 38.1%, 31%) |
| CIE-LAB | lab(40.38, 60.40, -7.36) |
| CIE-LCH | lch(40.38, 60.84, 353.05°) |
| OKLab | oklab(51.07% 0.1858 -0.0187) |
| OKLCH | oklch(51.07% 0.187 354.3) |
| XYZ | xyz(21.2383, 11.4810, 15.5627) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.42
Deep Magenta
#A0025C
ΔE00 4.99
Violet Red
#A50055
ΔE00 5.49
Dark Fuchsia
#9D0759
ΔE00 5.50
Red Violet
#9E0168
ΔE00 5.52
Mediumvioletred
#C71585
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0226D #22B065
analogous
#AC22B0 #B0226D #B02226
triadic
#B0226D #6DB022 #226DB0
tetradic
#B0226D #B0AC22 #22B065 #2226B0
square
#B0226D #B0AC22 #22B065 #2226B0
split-complementary
#B0226D #26B022 #22B0AC
monochromatic
#490E2D #7D184D #B0226D #D8378C #E26AAA
Accessibility & contrast
On white
6.37
#B0226D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B0226D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0226D
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0226D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0226D | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#BE0B45
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b0226d; /* rgb */ color: rgb(176, 34, 109); /* oklch */ color: oklch(51.1% 0.187 354.3);
Tailwind
colors: {
custom: {
50: '#cd6e96',
500: '#b0226d',
950: '#000000',
},
}SCSS
$custom: #b0226d; $custom-light: #cd6e96; $custom-dark: #000000;
JSON
{
"hex": "#b0226d",
"rgb": {
"r": 176,
"g": 34,
"b": 109
},
"hsl": {
"h": 328.31,
"s": 67.619,
"l": 41.176
},
"oklch": {
"l": 0.51071,
"c": 0.1867,
"h": 354.3
},
"luminance": 0.11478
}Semantic roles & 50–950 ramp
primary
#B0226D
secondary
#66C894
accent
#EA8F3D
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E