#945178#945178
#945178 is a mid, moderate pink. Relative luminance 0.135; OKLCH L 52.7% C 0.102 H 345.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #945178 |
|---|---|
| RGB | rgb(148, 81, 120) |
| HSL | hsl(325, 29%, 45%) |
| HSV | hsv(325, 45%, 58%) |
| CMYK | cmyk(0%, 45.3%, 18.9%, 42%) |
| CIE-LAB | lab(43.56, 33.27, -9.85) |
| CIE-LCH | lch(43.56, 34.69, 343.51°) |
| OKLab | oklab(52.67% 0.0988 -0.026) |
| OKLCH | oklch(52.67% 0.102 345.3) |
| XYZ | xyz(18.5456, 13.5381, 19.4020) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.02
Dusky Purple
#895B7B
ΔE00 4.34
Purpleish
#98568D
ΔE00 5.16
Purplish
#94568C
ΔE00 5.21
Dull Purple
#84597E
ΔE00 5.22
Dark Mauve
#874C62
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945178 #51946D
analogous
#8F5194 #945178 #945156
triadic
#945178 #789451 #517894
tetradic
#945178 #948F51 #51946D #515694
square
#945178 #948F51 #51946D #515694
split-complementary
#945178 #569451 #51948F
monochromatic
#452638 #6C3B58 #945178 #B17196 #C798B4
Accessibility & contrast
On white
5.66
#945178 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#945178 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #945178
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##945178 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566079
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#9C505F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #945178; /* rgb */ color: rgb(148, 81, 120); /* oklch */ color: oklch(52.7% 0.102 345.3);
Tailwind
colors: {
custom: {
50: '#b5849f',
500: '#945178',
950: '#000000',
},
}SCSS
$custom: #945178; $custom-light: #b5849f; $custom-dark: #000000;
JSON
{
"hex": "#945178",
"rgb": {
"r": 148,
"g": 81,
"b": 120
},
"hsl": {
"h": 325.075,
"s": 29.258,
"l": 44.902
},
"oklch": {
"l": 0.5267,
"c": 0.10219,
"h": 345.3
},
"luminance": 0.13537
}Semantic roles & 50–950 ramp
primary
#945178
secondary
#8DB49D
accent
#C68C62
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0E
muted
#807C7E