#954271#954271

#954271 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.2% C 0.125 H 347.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#954271
RGBrgb(149, 66, 113)
HSLhsl(326, 39%, 42%)
HSVhsv(326, 56%, 58%)
CMYKcmyk(0%, 55.7%, 24.2%, 41.6%)
CIE-LABlab(40.38, 40.49, -10.33)
CIE-LCHlch(40.38, 41.78, 345.69°)
OKLaboklab(50.23% 0.1217 -0.0271)
OKLCHoklch(50.23% 0.125 347.4)
XYZxyz(17.3238, 11.4798, 16.9230)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954271 #429566
analogous
#904295 #954271 #954248
triadic
#954271 #719542 #427195
tetradic
#954271 #959042 #429566 #424895
square
#954271 #959042 #429566 #424895
split-complementary
#954271 #489542 #429590
monochromatic
#401C31 #6B2F51 #954271 #B75D90 #CA87AD

Accessibility & contrast

On white

6.37
#954271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#954271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954271
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954271#FFFFFF#000000##FFFFFF
##9542711.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#61646F
Tritanopia (blue-blind)
#9E4054
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #954271;
/* rgb */ color: rgb(149, 66, 113);
/* oklch */ color: oklch(50.2% 0.125 347.4);
Tailwind
colors: {
  custom: {
    50: '#b77a99',
    500: '#954271',
    950: '#000000',
  },
}
SCSS
$custom: #954271;
$custom-light: #b77a99;
$custom-dark: #000000;
JSON
{
  "hex": "#954271",
  "rgb": {
    "r": 149,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 326.024,
    "s": 38.605,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.12472,
    "h": 347.4
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#954271
secondary
#7EB596
accent
#CF8C59
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #954271

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

Preview Lab → · Contrast checker → · Palette generator →

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