#B7397D#B7397D
#B7397D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.175 H 351.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B7397D |
|---|---|
| RGB | rgb(183, 57, 125) |
| HSL | hsl(328, 53%, 47%) |
| HSV | hsv(328, 69%, 72%) |
| CMYK | cmyk(0%, 68.9%, 31.7%, 28.2%) |
| CIE-LAB | lab(44.91, 56.51, -10.34) |
| CIE-LCH | lch(44.91, 57.45, 349.63°) |
| OKLab | oklab(54.81% 0.1724 -0.0268) |
| OKLCH | oklch(54.81% 0.175 351.2) |
| XYZ | xyz(24.6945, 14.4769, 20.8919) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.94
Magenta (survey)
#C20078
ΔE00 4.36
Light Plum
#9D5783
ΔE00 7.56
Deep Pink
#CB0162
ΔE00 7.83
Dark Pink
#CB416B
ΔE00 8.91
Dark Hot Pink
#D90166
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7397D #39B773
analogous
#B239B7 #B7397D #B7393E
triadic
#B7397D #7DB739 #397DB7
tetradic
#B7397D #B7B239 #39B773 #393EB7
square
#B7397D #B7B239 #39B773 #393EB7
split-complementary
#B7397D #3EB739 #39B7B2
monochromatic
#5A1C3D #882A5D #B7397D #CD609B #DC8EB8
Accessibility & contrast
On white
5.39
#B7397D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#B7397D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7397D
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7397D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7397D | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#70737A
Tritanopia (blue-blind)
#C43156
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #b7397d; /* rgb */ color: rgb(183, 57, 125); /* oklch */ color: oklch(54.8% 0.175 351.2);
Tailwind
colors: {
custom: {
50: '#d179a2',
500: '#b7397d',
950: '#000000',
},
}SCSS
$custom: #b7397d; $custom-light: #d179a2; $custom-dark: #000000;
JSON
{
"hex": "#b7397d",
"rgb": {
"r": 183,
"g": 57,
"b": 125
},
"hsl": {
"h": 327.619,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.54808,
"c": 0.17451,
"h": 351.2
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#B7397D
secondary
#85C7A3
accent
#DC8E4C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#150A0F
muted
#837C7F