#945A7E#945A7E

#945A7E is a mid, moderate pink. Relative luminance 0.151; OKLCH L 54.4% C 0.090 H 342.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#945A7E
RGBrgb(148, 90, 126)
HSLhsl(323, 24%, 47%)
HSVhsv(323, 39%, 58%)
CMYKcmyk(0%, 39.2%, 14.9%, 42%)
CIE-LABlab(45.79, 29.23, -10.14)
CIE-LCHlch(45.79, 30.94, 340.87°)
OKLaboklab(54.42% 0.0859 -0.0268)
OKLCHoklch(54.42% 0.09 342.6)
XYZxyz(19.6349, 15.1157, 21.6180)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945A7E #5A9470
analogous
#8D5A94 #945A7E #945A61
triadic
#945A7E #7E945A #5A7E94
tetradic
#945A7E #948D5A #5A9470 #5A6194
square
#945A7E #948D5A #5A9470 #5A6194
split-complementary
#945A7E #61945A #5A948D
monochromatic
#482C3D #6E435E #945A7E #AF7C9C #C6A2B9

Accessibility & contrast

On white

5.22
#945A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#945A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945A7E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945A7E#FFFFFF#000000##FFFFFF
##945A7E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D677F
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#9B5A67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #945a7e;
/* rgb */ color: rgb(148, 90, 126);
/* oklch */ color: oklch(54.4% 0.090 342.6);
Tailwind
colors: {
  custom: {
    50: '#b48aa3',
    500: '#945a7e',
    950: '#000000',
  },
}
SCSS
$custom: #945a7e;
$custom-light: #b48aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#945a7e",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 322.759,
    "s": 24.37,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.09002,
    "h": 342.6
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#945A7E
secondary
#96B4A1
accent
#C18967
background
#FBF8FA
surface
#F6F0F3
border
#D0CBCD
text
#110C0F
muted
#807D7F

Preview Lab

Preview with #945A7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#945A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva