#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
RGBrgb(148, 81, 120)
HSLhsl(325, 29%, 45%)
HSVhsv(325, 45%, 58%)
CMYKcmyk(0%, 45.3%, 18.9%, 42%)
CIE-LABlab(43.56, 33.27, -9.85)
CIE-LCHlch(43.56, 34.69, 343.51°)
OKLaboklab(52.67% 0.0988 -0.026)
OKLCHoklch(52.67% 0.102 345.3)
XYZxyz(18.5456, 13.5381, 19.4020)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##9451781.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.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

Preview Lab

Preview with #945178

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

Preview Lab → · Contrast checker → · Palette generator →

#945178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva