#951874#951874

#951874 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.181 H 341.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#951874
RGBrgb(149, 24, 116)
HSLhsl(316, 72%, 34%)
HSVhsv(316, 84%, 58%)
CMYKcmyk(0%, 83.9%, 22.1%, 41.6%)
CIE-LABlab(34.61, 57.20, -21.04)
CIE-LCHlch(34.61, 60.94, 339.81°)
OKLaboklab(46.05% 0.1722 -0.0566)
OKLCHoklch(46.05% 0.181 341.8)
XYZxyz(15.8740, 8.3055, 17.2868)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951874 #189539
analogous
#781895 #951874 #951836
triadic
#951874 #749518 #187495
tetradic
#951874 #957818 #189539 #183695
square
#951874 #957818 #189539 #183695
split-complementary
#951874 #369518 #189578
monochromatic
#2C0722 #60104B #951874 #CA209D #E146B8

Accessibility & contrast

On white

7.89
#951874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#951874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951874
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951874#FFFFFF#000000##FFFFFF
##9518741.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#4F5871
Tritanopia (blue-blind)
#9F1B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #951874;
/* rgb */ color: rgb(149, 24, 116);
/* oklch */ color: oklch(46.0% 0.181 341.8);
Tailwind
colors: {
  custom: {
    50: '#b8669c',
    500: '#951874',
    950: '#000000',
  },
}
SCSS
$custom: #951874;
$custom-light: #b8669c;
$custom-dark: #000000;
JSON
{
  "hex": "#951874",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 315.84,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.18124,
    "h": 341.8
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#951874
secondary
#46C267
accent
#EF6939
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951874

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

Preview Lab → · Contrast checker → · Palette generator →

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