#7C315E#7C315E
#7C315E is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.3% C 0.117 H 346.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7C315E |
|---|---|
| RGB | rgb(124, 49, 94) |
| HSL | hsl(324, 43%, 34%) |
| HSV | hsv(324, 60%, 49%) |
| CMYK | cmyk(0%, 60.5%, 24.2%, 51.4%) |
| CIE-LAB | lab(32.46, 37.93, -10.69) |
| CIE-LCH | lch(32.46, 39.40, 344.26°) |
| OKLab | oklab(43.31% 0.114 -0.0282) |
| OKLCH | oklch(43.31% 0.117 346.1) |
| XYZ | xyz(11.4312, 7.2909, 11.3928) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.39
Bruise
#7E4071
ΔE00 5.07
Velvet
#750851
ΔE00 6.50
Reddish Purple
#910951
ΔE00 7.10
Dark Magenta
#960056
ΔE00 7.28
Red Purple
#820747
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C315E #317C4F
analogous
#75317C #7C315E #7C3139
triadic
#7C315E #5E7C31 #315E7C
tetradic
#7C315E #7C7531 #317C4F #31397C
square
#7C315E #7C7531 #317C4F #31397C
split-complementary
#7C315E #397C31 #317C75
monochromatic
#240E1B #50203D #7C315E #A8427F #C2659D
Accessibility & contrast
On white
8.54
#7C315E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#7C315E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C315E
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C315E | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#4D515C
Tritanopia (blue-blind)
#843043
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7c315e; /* rgb */ color: rgb(124, 49, 94); /* oklch */ color: oklch(43.3% 0.117 346.1);
Tailwind
colors: {
custom: {
50: '#a46d8b',
500: '#7c315e',
950: '#000000',
},
}SCSS
$custom: #7c315e; $custom-light: #a46d8b; $custom-dark: #000000;
JSON
{
"hex": "#7c315e",
"rgb": {
"r": 124,
"g": 49,
"b": 94
},
"hsl": {
"h": 324,
"s": 43.353,
"l": 33.922
},
"oklch": {
"l": 0.43314,
"c": 0.11747,
"h": 346.1
},
"luminance": 0.0729
}Semantic roles & 50–950 ramp
primary
#7C315E
secondary
#5FAA7D
accent
#D38755
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070C
muted
#7F7A7D