#951C74#951C74

#951C74 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.178 H 342.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#951C74
RGBrgb(149, 28, 116)
HSLhsl(316, 68%, 35%)
HSVhsv(316, 81%, 58%)
CMYKcmyk(0%, 81.2%, 22.1%, 41.6%)
CIE-LABlab(34.97, 56.17, -20.48)
CIE-LCHlch(34.97, 59.79, 339.97°)
OKLaboklab(46.3% 0.169 -0.0551)
OKLCHoklch(46.3% 0.178 342)
XYZxyz(15.9626, 8.4827, 17.3163)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C74 #1C953D
analogous
#7A1C95 #951C74 #951C37
triadic
#951C74 #74951C #1C7495
tetradic
#951C74 #957A1C #1C953D #1C3795
square
#951C74 #957A1C #1C953D #1C3795
split-complementary
#951C74 #37951C #1C957A
monochromatic
#2E0924 #61124C #951C74 #C9269C #DE4EB6

Accessibility & contrast

On white

7.79
#951C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#951C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C74
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C74#FFFFFF#000000##FFFFFF
##951C741.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#9F1E47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951c74;
/* rgb */ color: rgb(149, 28, 116);
/* oklch */ color: oklch(46.3% 0.178 342.0);
Tailwind
colors: {
  custom: {
    50: '#b8689c',
    500: '#951c74',
    950: '#000000',
  },
}
SCSS
$custom: #951c74;
$custom-light: #b8689c;
$custom-dark: #000000;
JSON
{
  "hex": "#951c74",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 316.364,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.17776,
    "h": 342
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#951C74
secondary
#4DC06C
accent
#EB6C3D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951C74

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

Preview Lab → · Contrast checker → · Palette generator →

#951C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva