#B7338F#B7338F
#B7338F is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.192 H 342.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B7338F |
|---|---|
| RGB | rgb(183, 51, 143) |
| HSL | hsl(318, 56%, 46%) |
| HSV | hsv(318, 72%, 72%) |
| CMYK | cmyk(0%, 72.1%, 21.9%, 28.2%) |
| CIE-LAB | lab(44.83, 61.00, -21.41) |
| CIE-LCH | lch(44.83, 64.65, 340.66°) |
| OKLab | oklab(54.98% 0.1833 -0.0574) |
| OKLCH | oklch(54.98% 0.192 342.6) |
| XYZ | xyz(25.6711, 14.4207, 27.4128) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.00
Ugly Purple
#A442A0
ΔE00 5.82
Magenta (survey)
#C20078
ΔE00 5.85
Medium Purple
#9E43A2
ΔE00 7.16
Warm Purple
#952E8F
ΔE00 7.86
Purpley Pink
#C83CB9
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7338F #33B75B
analogous
#9D33B7 #B7338F #B7334D
triadic
#B7338F #8FB733 #338FB7
tetradic
#B7338F #B79D33 #33B75B #334DB7
square
#B7338F #B79D33 #33B75B #334DB7
split-complementary
#B7338F #4DB733 #33B79D
monochromatic
#571844 #87266A #B7338F #D057AB #DE87C3
Accessibility & contrast
On white
5.41
#B7338F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#B7338F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7338F
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7338F | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405C92
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#C3345D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #b7338f; /* rgb */ color: rgb(183, 51, 143); /* oklch */ color: oklch(55.0% 0.192 342.6);
Tailwind
colors: {
custom: {
50: '#d177b0',
500: '#b7338f',
950: '#000000',
},
}SCSS
$custom: #b7338f; $custom-light: #d177b0; $custom-dark: #000000;
JSON
{
"hex": "#b7338f",
"rgb": {
"r": 183,
"g": 51,
"b": 143
},
"hsl": {
"h": 318.182,
"s": 56.41,
"l": 45.882
},
"oklch": {
"l": 0.54981,
"c": 0.19209,
"h": 342.6
},
"luminance": 0.14418
}Semantic roles & 50–950 ramp
primary
#B7338F
secondary
#7FC795
accent
#E07648
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F