#B25198#B25198
#B25198 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.0% C 0.152 H 338.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B25198 |
|---|---|
| RGB | rgb(178, 81, 152) |
| HSL | hsl(316, 39%, 51%) |
| HSV | hsv(316, 54%, 70%) |
| CMYK | cmyk(0%, 54.5%, 14.6%, 30.2%) |
| CIE-LAB | lab(49.03, 48.26, -20.41) |
| CIE-LCH | lch(49.03, 52.40, 337.08°) |
| OKLab | oklab(58.03% 0.1419 -0.0549) |
| OKLCH | oklch(58.03% 0.152 338.9) |
| XYZ | xyz(26.9704, 17.6189, 31.6800) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.37
Light Plum
#9D5783
ΔE00 5.93
Purplish
#94568C
ΔE00 6.22
Ugly Purple
#A442A0
ΔE00 6.31
Purpley Pink
#C83CB9
ΔE00 7.14
Purplish Pink
#CE5DAE
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B25198 #51B26B
analogous
#9B51B2 #B25198 #B25168
triadic
#B25198 #98B251 #5198B2
tetradic
#B25198 #B29B51 #51B26B #5168B2
square
#B25198 #B29B51 #51B26B #5168B2
split-complementary
#B25198 #68B251 #51B29B
monochromatic
#5F2A51 #893D75 #B25198 #C57BB1 #D8A6CA
Accessibility & contrast
On white
4.64
#B25198 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#B25198 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #B25198
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B25198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B25198 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556B9A
Deuteranopia (green-blind)
#707A95
Tritanopia (blue-blind)
#BB546D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #b25198; /* rgb */ color: rgb(178, 81, 152); /* oklch */ color: oklch(58.0% 0.152 338.9);
Tailwind
colors: {
custom: {
50: '#cb86b6',
500: '#b25198',
950: '#000000',
},
}SCSS
$custom: #b25198; $custom-light: #cb86b6; $custom-dark: #000000;
JSON
{
"hex": "#b25198",
"rgb": {
"r": 178,
"g": 81,
"b": 152
},
"hsl": {
"h": 316.082,
"s": 38.645,
"l": 50.784
},
"oklch": {
"l": 0.58032,
"c": 0.15213,
"h": 338.9
},
"luminance": 0.17617
}Semantic roles & 50–950 ramp
primary
#B25198
secondary
#9AC5A5
accent
#CF7959
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80