#B6398F#B6398F
#B6398F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.184 H 342.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B6398F |
|---|---|
| RGB | rgb(182, 57, 143) |
| HSL | hsl(319, 52%, 47%) |
| HSV | hsv(319, 69%, 71%) |
| CMYK | cmyk(0%, 68.7%, 21.4%, 28.6%) |
| CIE-LAB | lab(45.44, 58.56, -20.49) |
| CIE-LCH | lch(45.44, 62.04, 340.72°) |
| OKLab | oklab(55.39% 0.1757 -0.0548) |
| OKLCH | oklch(55.39% 0.184 342.7) |
| XYZ | xyz(25.7133, 14.8570, 27.4948) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.37
Ugly Purple
#A442A0
ΔE00 5.79
Magenta (survey)
#C20078
ΔE00 6.25
Medium Purple
#9E43A2
ΔE00 7.16
Purpleish
#98568D
ΔE00 7.58
Light Plum
#9D5783
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6398F #39B660
analogous
#9F39B6 #B6398F #B63951
triadic
#B6398F #8FB639 #398FB6
tetradic
#B6398F #B69F39 #39B660 #3951B6
square
#B6398F #B69F39 #39B660 #3951B6
split-complementary
#B6398F #51B639 #39B69F
monochromatic
#591C46 #872A6A #B6398F #CD5FAB #DC8EC3
Accessibility & contrast
On white
5.29
#B6398F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#B6398F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6398F
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6398F | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#C13A5F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b6398f; /* rgb */ color: rgb(182, 57, 143); /* oklch */ color: oklch(55.4% 0.184 342.7);
Tailwind
colors: {
custom: {
50: '#d079b0',
500: '#b6398f',
950: '#000000',
},
}SCSS
$custom: #b6398f; $custom-light: #d079b0; $custom-dark: #000000;
JSON
{
"hex": "#b6398f",
"rgb": {
"r": 182,
"g": 57,
"b": 143
},
"hsl": {
"h": 318.72,
"s": 52.301,
"l": 46.863
},
"oklch": {
"l": 0.55391,
"c": 0.18406,
"h": 342.7
},
"luminance": 0.14855
}Semantic roles & 50–950 ramp
primary
#B6398F
secondary
#85C699
accent
#DC794C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F