#951B52#951B52

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

Color values

HEX#951B52
RGBrgb(149, 27, 82)
HSLhsl(333, 69%, 35%)
HSVhsv(333, 82%, 58%)
CMYKcmyk(0%, 81.9%, 45%, 41.6%)
CIE-LABlab(33.53, 52.50, -0.84)
CIE-LCHlch(33.53, 52.51, 359.08°)
OKLaboklab(44.82% 0.1615 -0.0016)
OKLCHoklch(44.82% 0.162 359.4)
XYZxyz(14.3105, 7.7846, 8.7300)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B52 #1B955E
analogous
#951B8F #951B52 #95211B
triadic
#951B52 #52951B #1B5295
tetradic
#951B52 #8F951B #1B955E #211B95
square
#951B52 #8F951B #1B955E #211B95
split-complementary
#951B52 #1B9521 #1B8F95
monochromatic
#2D0819 #611235 #951B52 #C9246F #DF4C8E

Accessibility & contrast

On white

8.21
#951B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951B52
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B52#FFFFFF#000000##FFFFFF
##951B521.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#A20034
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951b52;
/* rgb */ color: rgb(149, 27, 82);
/* oklch */ color: oklch(44.8% 0.162 359.4);
Tailwind
colors: {
  custom: {
    50: '#b96682',
    500: '#951b52',
    950: '#000000',
  },
}
SCSS
$custom: #951b52;
$custom-light: #b96682;
$custom-dark: #000000;
JSON
{
  "hex": "#951b52",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 332.951,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.1615,
    "h": 359.4
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#951B52
secondary
#4BC18C
accent
#EC9D3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951B52

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

Preview Lab → · Contrast checker → · Palette generator →

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