#951778#951778

#951778 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.185 H 339.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#951778
RGBrgb(149, 23, 120)
HSLhsl(314, 73%, 34%)
HSVhsv(314, 85%, 58%)
CMYKcmyk(0%, 84.6%, 19.5%, 41.6%)
CIE-LABlab(34.72, 57.97, -23.39)
CIE-LCHlch(34.72, 62.51, 338.03°)
OKLaboklab(46.19% 0.1734 -0.0633)
OKLCHoklch(46.19% 0.185 339.9)
XYZxyz(16.0915, 8.3601, 18.5319)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951778 #179534
analogous
#731795 #951778 #951739
triadic
#951778 #789517 #177895
tetradic
#951778 #957317 #179534 #173995
square
#951778 #957317 #179534 #173995
split-complementary
#951778 #399517 #179573
monochromatic
#2B0723 #600F4D #951778 #CA1FA3 #E244BE

Accessibility & contrast

On white

7.86
#951778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#951778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951778
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951778#FFFFFF#000000##FFFFFF
##9517781.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#4D5975
Tritanopia (blue-blind)
#9E1D48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951778;
/* rgb */ color: rgb(149, 23, 120);
/* oklch */ color: oklch(46.2% 0.185 339.9);
Tailwind
colors: {
  custom: {
    50: '#b8669f',
    500: '#951778',
    950: '#000000',
  },
}
SCSS
$custom: #951778;
$custom-light: #b8669f;
$custom-dark: #000000;
JSON
{
  "hex": "#951778",
  "rgb": {
    "r": 149,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 313.81,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46189,
    "c": 0.18457,
    "h": 339.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#951778
secondary
#45C362
accent
#F06238
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951778

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

Preview Lab → · Contrast checker → · Palette generator →

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