#951862#951862

#951862 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.171 H 350.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#951862
RGBrgb(149, 24, 98)
HSLhsl(324, 72%, 34%)
HSVhsv(324, 84%, 58%)
CMYKcmyk(0%, 83.9%, 34.2%, 41.6%)
CIE-LABlab(33.83, 54.98, -10.76)
CIE-LCHlch(33.83, 56.02, 348.93°)
OKLaboklab(45.23% 0.1687 -0.028)
OKLCHoklch(45.23% 0.171 350.6)
XYZxyz(14.9266, 7.9265, 12.2968)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951862 #18954B
analogous
#8A1895 #951862 #951824
triadic
#951862 #629518 #186295
tetradic
#951862 #958A18 #18954B #182495
square
#951862 #958A18 #18954B #182495
split-complementary
#951862 #249518 #18958A
monochromatic
#2C071D #60103F #951862 #CA2085 #E146A2

Accessibility & contrast

On white

8.12
#951862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#951862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951862
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951862#FFFFFF#000000##FFFFFF
##9518621.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314264
Deuteranopia (green-blind)
#55575F
Tritanopia (blue-blind)
#A10A3C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #951862;
/* rgb */ color: rgb(149, 24, 98);
/* oklch */ color: oklch(45.2% 0.171 350.6);
Tailwind
colors: {
  custom: {
    50: '#b9668e',
    500: '#951862',
    950: '#000000',
  },
}
SCSS
$custom: #951862;
$custom-light: #b9668e;
$custom-dark: #000000;
JSON
{
  "hex": "#951862",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 324.48,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.17102,
    "h": 350.6
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#951862
secondary
#46C279
accent
#EF8339
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #951862

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

Preview Lab → · Contrast checker → · Palette generator →

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