#951F68#951F68

#951F68 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 348.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#951F68
RGBrgb(149, 31, 104)
HSLhsl(323, 66%, 35%)
HSVhsv(323, 79%, 58%)
CMYKcmyk(0%, 79.2%, 30.2%, 41.6%)
CIE-LABlab(34.74, 53.77, -13.21)
CIE-LCHlch(34.74, 55.37, 346.19°)
OKLaboklab(45.97% 0.1641 -0.0348)
OKLCHoklch(45.97% 0.168 348)
XYZxyz(15.3839, 8.3708, 13.8996)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F68 #1F954C
analogous
#871F95 #951F68 #951F2D
triadic
#951F68 #68951F #1F6895
tetradic
#951F68 #95871F #1F954C #1F2D95
square
#951F68 #95871F #1F954C #1F2D95
split-complementary
#951F68 #2D951F #1F9587
monochromatic
#300A21 #621445 #951F68 #C82A8B #DB53A7

Accessibility & contrast

On white

7.85
#951F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#951F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F68
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F68#FFFFFF#000000##FFFFFF
##951F681.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#555965
Tritanopia (blue-blind)
#A01941
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951f68;
/* rgb */ color: rgb(149, 31, 104);
/* oklch */ color: oklch(46.0% 0.168 348.0);
Tailwind
colors: {
  custom: {
    50: '#b86893',
    500: '#951f68',
    950: '#000000',
  },
}
SCSS
$custom: #951f68;
$custom-light: #b86893;
$custom-dark: #000000;
JSON
{
  "hex": "#951f68",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 322.881,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.16773,
    "h": 348
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#951F68
secondary
#51BF7B
accent
#E9803F
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951F68

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

Preview Lab → · Contrast checker → · Palette generator →

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