#951B74#951B74

#951B74 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.179 H 341.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#951B74
RGBrgb(149, 27, 116)
HSLhsl(316, 69%, 35%)
HSVhsv(316, 82%, 58%)
CMYKcmyk(0%, 81.9%, 22.1%, 41.6%)
CIE-LABlab(34.88, 56.44, -20.63)
CIE-LCHlch(34.88, 60.09, 339.92°)
OKLaboklab(46.24% 0.1698 -0.0555)
OKLCHoklch(46.24% 0.179 341.9)
XYZxyz(15.9393, 8.4361, 17.3085)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B74 #1B953C
analogous
#791B95 #951B74 #951B37
triadic
#951B74 #74951B #1B7495
tetradic
#951B74 #95791B #1B953C #1B3795
square
#951B74 #95791B #1B953C #1B3795
split-complementary
#951B74 #37951B #1B9579
monochromatic
#2D0823 #61124C #951B74 #C9249C #DF4CB7

Accessibility & contrast

On white

7.82
#951B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#951B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B74
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B74#FFFFFF#000000##FFFFFF
##951B741.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951b74;
/* rgb */ color: rgb(149, 27, 116);
/* oklch */ color: oklch(46.2% 0.179 341.9);
Tailwind
colors: {
  custom: {
    50: '#b8679c',
    500: '#951b74',
    950: '#000000',
  },
}
SCSS
$custom: #951b74;
$custom-light: #b8679c;
$custom-dark: #000000;
JSON
{
  "hex": "#951b74",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 316.23,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46237,
    "c": 0.17866,
    "h": 341.9
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#951B74
secondary
#4BC16B
accent
#EC6B3C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951B74

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

Preview Lab → · Contrast checker → · Palette generator →

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