#7E315E#7E315E
#7E315E is a dark, moderate pink. Relative luminance 0.074; OKLCH L 43.6% C 0.119 H 347.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7E315E |
|---|---|
| RGB | rgb(126, 49, 94) |
| HSL | hsl(325, 44%, 34%) |
| HSV | hsv(325, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 25.4%, 50.6%) |
| CIE-LAB | lab(32.79, 38.58, -10.16) |
| CIE-LCH | lch(32.79, 39.90, 345.25°) |
| OKLab | oklab(43.63% 0.1163 -0.0267) |
| OKLCH | oklch(43.63% 0.119 347) |
| XYZ | xyz(11.7233, 7.4415, 11.4064) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.86
Bruise
#7E4071
ΔE00 5.22
Velvet
#750851
ΔE00 6.62
Reddish Purple
#910951
ΔE00 6.75
Dark Magenta
#960056
ΔE00 6.93
Red Purple
#820747
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E315E #317E51
analogous
#78317E #7E315E #7E3138
triadic
#7E315E #5E7E31 #315E7E
tetradic
#7E315E #7E7831 #317E51 #31387E
square
#7E315E #7E7831 #317E51 #31387E
split-complementary
#7E315E #387E31 #317E78
monochromatic
#260F1C #52203D #7E315E #AA427F #C3669D
Accessibility & contrast
On white
8.44
#7E315E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#7E315E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E315E
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E315E | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39455F
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#862F43
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7e315e; /* rgb */ color: rgb(126, 49, 94); /* oklch */ color: oklch(43.6% 0.119 347.0);
Tailwind
colors: {
custom: {
50: '#a66d8b',
500: '#7e315e',
950: '#000000',
},
}SCSS
$custom: #7e315e; $custom-light: #a66d8b; $custom-dark: #000000;
JSON
{
"hex": "#7e315e",
"rgb": {
"r": 126,
"g": 49,
"b": 94
},
"hsl": {
"h": 324.935,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.43625,
"c": 0.11932,
"h": 347
},
"luminance": 0.0744
}Semantic roles & 50–950 ramp
primary
#7E315E
secondary
#60AB7F
accent
#D48954
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D