#951F74#951F74

#951F74 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.175 H 342.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#951F74
RGBrgb(149, 31, 116)
HSLhsl(317, 66%, 35%)
HSVhsv(317, 79%, 58%)
CMYKcmyk(0%, 79.2%, 22.1%, 41.6%)
CIE-LABlab(35.27, 55.32, -20.02)
CIE-LCHlch(35.27, 58.83, 340.10°)
OKLaboklab(46.52% 0.1664 -0.0538)
OKLCHoklch(46.52% 0.175 342.1)
XYZxyz(16.0374, 8.6322, 17.3412)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F74 #1F9540
analogous
#7B1F95 #951F74 #951F39
triadic
#951F74 #74951F #1F7495
tetradic
#951F74 #957B1F #1F9540 #1F3995
square
#951F74 #957B1F #1F9540 #1F3995
split-complementary
#951F74 #39951F #1F957B
monochromatic
#300A25 #62144D #951F74 #C82A9B #DB53B5

Accessibility & contrast

On white

7.70
#951F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F74
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F74#FFFFFF#000000##FFFFFF
##951F741.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#9F2148
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f74;
/* rgb */ color: rgb(149, 31, 116);
/* oklch */ color: oklch(46.5% 0.175 342.1);
Tailwind
colors: {
  custom: {
    50: '#b8699c',
    500: '#951f74',
    950: '#000000',
  },
}
SCSS
$custom: #951f74;
$custom-light: #b8699c;
$custom-dark: #000000;
JSON
{
  "hex": "#951f74",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 316.78,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.17487,
    "h": 342.1
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#951F74
secondary
#51BF70
accent
#E96F3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F74

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

Preview Lab → · Contrast checker → · Palette generator →

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