#951F47#951F47

#951F47 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.155 H 6.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#951F47
RGBrgb(149, 31, 71)
HSLhsl(340, 66%, 35%)
HSVhsv(340, 79%, 58%)
CMYKcmyk(0%, 79.2%, 52.3%, 41.6%)
CIE-LABlab(33.62, 50.33, 6.46)
CIE-LCHlch(33.62, 50.74, 7.32°)
OKLaboklab(44.78% 0.1537 0.0168)
OKLCHoklch(44.78% 0.155 6.2)
XYZxyz(14.0230, 7.8264, 6.7323)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F47 #1F956D
analogous
#951F82 #951F47 #95321F
triadic
#951F47 #47951F #1F4795
tetradic
#951F47 #82951F #1F956D #321F95
square
#951F47 #82951F #1F956D #321F95
split-complementary
#951F47 #1F9532 #1F8295
monochromatic
#300A17 #62142F #951F47 #C82A5F #DB5381

Accessibility & contrast

On white

8.19
#951F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#951F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F47
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F47#FFFFFF#000000##FFFFFF
##951F471.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#A30030
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951f47;
/* rgb */ color: rgb(149, 31, 71);
/* oklch */ color: oklch(44.8% 0.155 6.2);
Tailwind
colors: {
  custom: {
    50: '#ba6779',
    500: '#951f47',
    950: '#000000',
  },
}
SCSS
$custom: #951f47;
$custom-light: #ba6779;
$custom-dark: #000000;
JSON
{
  "hex": "#951f47",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 339.661,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.15461,
    "h": 6.2
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#951F47
secondary
#51BF9A
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #951F47

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

Preview Lab → · Contrast checker → · Palette generator →

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