#945C8A#945C8A

#945C8A is a mid, moderate pink. Relative luminance 0.158; OKLCH L 55.3% C 0.097 H 333.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#945C8A
RGBrgb(148, 92, 138)
HSLhsl(311, 23%, 47%)
HSVhsv(311, 38%, 58%)
CMYKcmyk(0%, 37.8%, 6.8%, 42%)
CIE-LABlab(46.69, 30.24, -15.99)
CIE-LCHlch(46.69, 34.21, 332.14°)
OKLaboklab(55.25% 0.0864 -0.043)
OKLCHoklch(55.25% 0.097 333.5)
XYZxyz(20.6272, 15.7862, 26.0004)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945C8A #5C9466
analogous
#825C94 #945C8A #945C6E
triadic
#945C8A #8A945C #5C8A94
tetradic
#945C8A #94825C #5C9466 #5C6E94
square
#945C8A #94825C #5C9466 #5C6E94
split-complementary
#945C8A #6E945C #5C9482
monochromatic
#492D44 #6E4567 #945C8A #AF7EA6 #C6A4C0

Accessibility & contrast

On white

5.05
#945C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#945C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945C8A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945C8A#FFFFFF#000000##FFFFFF
##945C8A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#995F6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #945c8a;
/* rgb */ color: rgb(148, 92, 138);
/* oklch */ color: oklch(55.3% 0.097 333.5);
Tailwind
colors: {
  custom: {
    50: '#b48bac',
    500: '#945c8a',
    950: '#000000',
  },
}
SCSS
$custom: #945c8a;
$custom-light: #b48bac;
$custom-dark: #000000;
JSON
{
  "hex": "#945c8a",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 310.714,
    "s": 23.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.0965,
    "h": 333.5
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#945C8A
secondary
#97B49D
accent
#C07868
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #945C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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