#9D3274#9D3274

#9D3274 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.158 H 346.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D3274
RGBrgb(157, 50, 116)
HSLhsl(323, 52%, 41%)
HSVhsv(323, 68%, 62%)
CMYKcmyk(0%, 68.2%, 26.1%, 38.4%)
CIE-LABlab(39.09, 50.72, -14.02)
CIE-LCHlch(39.09, 52.62, 344.55°)
OKLaboklab(49.57% 0.1535 -0.0371)
OKLCHoklch(49.57% 0.158 346.4)
XYZxyz(18.1983, 10.7121, 17.6289)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3274 #329D5B
analogous
#90329D #9D3274 #9D323E
triadic
#9D3274 #749D32 #32749D
tetradic
#9D3274 #9D9032 #329D5B #323E9D
square
#9D3274 #9D9032 #329D5B #323E9D
split-complementary
#9D3274 #3E9D32 #329D90
monochromatic
#40142F #6F2352 #9D3274 #C54895 #D376B0

Accessibility & contrast

On white

6.68
#9D3274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D3274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3274
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3274#FFFFFF#000000##FFFFFF
##9D32741.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5076
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#A8304E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d3274;
/* rgb */ color: rgb(157, 50, 116);
/* oklch */ color: oklch(49.6% 0.158 346.4);
Tailwind
colors: {
  custom: {
    50: '#bd729c',
    500: '#9d3274',
    950: '#000000',
  },
}
SCSS
$custom: #9d3274;
$custom-light: #bd729c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3274",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 322.991,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.1579,
    "h": 346.4
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#9D3274
secondary
#6FBC8C
accent
#DB834D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D3274

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

Preview Lab → · Contrast checker → · Palette generator →

#9D3274 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva