#7A315B#7A315B
#7A315B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.114 H 347.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7A315B |
|---|---|
| RGB | rgb(122, 49, 91) |
| HSL | hsl(325, 43%, 34%) |
| HSV | hsv(325, 60%, 48%) |
| CMYK | cmyk(0%, 59.8%, 25.4%, 52.2%) |
| CIE-LAB | lab(32.01, 36.81, -9.47) |
| CIE-LCH | lch(32.01, 38.01, 345.57°) |
| OKLab | oklab(42.88% 0.1109 -0.0249) |
| OKLCH | oklch(42.88% 0.114 347.3) |
| XYZ | xyz(11.0130, 7.0905, 10.6841) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.52
Bruise
#7E4071
ΔE00 5.59
Velvet
#750851
ΔE00 6.51
Reddish Purple
#910951
ΔE00 7.07
Red Purple
#820747
ΔE00 7.08
Dark Magenta
#960056
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A315B #317A50
analogous
#74317A #7A315B #7A3136
triadic
#7A315B #5B7A31 #315B7A
tetradic
#7A315B #7A7431 #317A50 #31367A
square
#7A315B #7A7431 #317A50 #31367A
split-complementary
#7A315B #367A31 #317A74
monochromatic
#230E1A #4E1F3A #7A315B #A6437C #C1649A
Accessibility & contrast
On white
8.68
#7A315B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#7A315B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A315B
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A315B | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39435C
Deuteranopia (green-blind)
#4D5059
Tritanopia (blue-blind)
#822F42
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7a315b; /* rgb */ color: rgb(122, 49, 91); /* oklch */ color: oklch(42.9% 0.114 347.3);
Tailwind
colors: {
custom: {
50: '#a36d89',
500: '#7a315b',
950: '#000000',
},
}SCSS
$custom: #7a315b; $custom-light: #a36d89; $custom-dark: #000000;
JSON
{
"hex": "#7a315b",
"rgb": {
"r": 122,
"g": 49,
"b": 91
},
"hsl": {
"h": 325.479,
"s": 42.69,
"l": 33.529
},
"oklch": {
"l": 0.42878,
"c": 0.11365,
"h": 347.3
},
"luminance": 0.0709
}Semantic roles & 50–950 ramp
primary
#7A315B
secondary
#5EA87E
accent
#D28A55
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070B
muted
#7F7A7C