#951871#951871

#951871 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.179 H 343.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#951871
RGBrgb(149, 24, 113)
HSLhsl(317, 72%, 34%)
HSVhsv(317, 84%, 58%)
CMYKcmyk(0%, 83.9%, 24.2%, 41.6%)
CIE-LABlab(34.47, 56.81, -19.35)
CIE-LCHlch(34.47, 60.01, 341.18°)
OKLaboklab(45.9% 0.1717 -0.0519)
OKLCHoklch(45.9% 0.179 343.2)
XYZxyz(15.7023, 8.2368, 16.3825)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951871 #18953C
analogous
#7B1895 #951871 #951833
triadic
#951871 #719518 #187195
tetradic
#951871 #957B18 #18953C #183395
square
#951871 #957B18 #18953C #183395
split-complementary
#951871 #339518 #18957B
monochromatic
#2C0721 #601049 #951871 #CA2099 #E146B5

Accessibility & contrast

On white

7.93
#951871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#951871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951871
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951871#FFFFFF#000000##FFFFFF
##9518711.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9F1844
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #951871;
/* rgb */ color: rgb(149, 24, 113);
/* oklch */ color: oklch(45.9% 0.179 343.2);
Tailwind
colors: {
  custom: {
    50: '#b8669a',
    500: '#951871',
    950: '#000000',
  },
}
SCSS
$custom: #951871;
$custom-light: #b8669a;
$custom-dark: #000000;
JSON
{
  "hex": "#951871",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 317.28,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.459,
    "c": 0.17939,
    "h": 343.2
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#951871
secondary
#46C26A
accent
#EF6D39
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951871

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

Preview Lab → · Contrast checker → · Palette generator →

#951871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva