#7B175F#7B175F
#7B175F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.153 H 342.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7B175F |
|---|---|
| RGB | rgb(123, 23, 95) |
| HSL | hsl(317, 68%, 29%) |
| HSV | hsv(317, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 22.8%, 51.8%) |
| CIE-LAB | lab(28.51, 48.35, -17.40) |
| CIE-LCH | lch(28.51, 51.39, 340.20°) |
| OKLab | oklab(40.41% 0.1455 -0.0468) |
| OKLCH | oklch(40.41% 0.153 342.2) |
| XYZ | xyz(10.5407, 5.6511, 11.3599) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.04
Velvet
#750851
ΔE00 3.09
Darkish Purple
#751973
ΔE00 5.55
Grape Purple
#5D1451
ΔE00 6.11
Grape
#6C3461
ΔE00 6.30
Red Violet
#9E0168
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B175F #177B33
analogous
#65177B #7B175F #7B172D
triadic
#7B175F #5F7B17 #175F7B
tetradic
#7B175F #7B6517 #177B33 #172D7B
square
#7B175F #7B6517 #177B33 #172D7B
split-complementary
#7B175F #2D7B17 #177B65
monochromatic
#1A0514 #470D37 #7B175F #AF2187 #D933AB
Accessibility & contrast
On white
9.86
#7B175F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7B175F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B175F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B175F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B175F | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#83183A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b175f; /* rgb */ color: rgb(123, 23, 95); /* oklch */ color: oklch(40.4% 0.153 342.2);
Tailwind
colors: {
custom: {
50: '#a5618c',
500: '#7b175f',
950: '#000000',
},
}SCSS
$custom: #7b175f; $custom-light: #a5618c; $custom-dark: #000000;
JSON
{
"hex": "#7b175f",
"rgb": {
"r": 123,
"g": 23,
"b": 95
},
"hsl": {
"h": 316.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.40407,
"c": 0.15285,
"h": 342.2
},
"luminance": 0.0565
}Semantic roles & 50–950 ramp
primary
#7B175F
secondary
#3EB05E
accent
#EB6D3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D