#B2296F#B2296F
#B2296F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.182 H 354.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B2296F |
|---|---|
| RGB | rgb(178, 41, 111) |
| HSL | hsl(329, 63%, 43%) |
| HSV | hsv(329, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 37.6%, 30.2%) |
| CIE-LAB | lab(41.53, 59.11, -6.85) |
| CIE-LCH | lch(41.53, 59.51, 353.39°) |
| OKLab | oklab(52.01% 0.1816 -0.0173) |
| OKLCH | oklch(52.01% 0.182 354.5) |
| XYZ | xyz(22.0237, 12.2013, 16.2312) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.34
Mediumvioletred
#C71585
ΔE00 5.14
Deep Magenta
#A0025C
ΔE00 6.00
Violet Red
#A50055
ΔE00 6.26
Deep Pink
#CB0162
ΔE00 6.29
Dark Fuchsia
#9D0759
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2296F #29B26C
analogous
#B029B2 #B2296F #B2292B
triadic
#B2296F #6FB229 #296FB2
tetradic
#B2296F #B2B029 #29B26C #292BB2
square
#B2296F #B2B029 #29B26C #292BB2
split-complementary
#B2296F #2BB229 #29B2B0
monochromatic
#4F1231 #801E50 #B2296F #D4448E #DF76AC
Accessibility & contrast
On white
6.11
#B2296F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#B2296F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2296F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2296F | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#6B6B6C
Tritanopia (blue-blind)
#C01849
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b2296f; /* rgb */ color: rgb(178, 41, 111); /* oklch */ color: oklch(52.0% 0.182 354.5);
Tailwind
colors: {
custom: {
50: '#ce7198',
500: '#b2296f',
950: '#000000',
},
}SCSS
$custom: #b2296f; $custom-light: #ce7198; $custom-dark: #000000;
JSON
{
"hex": "#b2296f",
"rgb": {
"r": 178,
"g": 41,
"b": 111
},
"hsl": {
"h": 329.343,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.52006,
"c": 0.18241,
"h": 354.5
},
"luminance": 0.12199
}Semantic roles & 50–950 ramp
primary
#B2296F
secondary
#70C79A
accent
#E69242
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E