#9D2F83#9D2F83

#9D2F83 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.172 H 338.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D2F83
RGBrgb(157, 47, 131)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 70%, 62%)
CMYKcmyk(0%, 70.1%, 16.6%, 38.4%)
CIE-LABlab(39.31, 54.03, -22.98)
CIE-LCHlch(39.31, 58.72, 336.96°)
OKLaboklab(49.95% 0.1601 -0.0622)
OKLCHoklch(49.95% 0.172 338.8)
XYZxyz(19.0183, 10.8416, 22.5593)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F83 #2F9D49
analogous
#802F9D #9D2F83 #9D2F4C
triadic
#9D2F83 #839D2F #2F839D
tetradic
#9D2F83 #9D802F #2F9D49 #2F4C9D
square
#9D2F83 #9D802F #2F9D49 #2F4C9D
split-complementary
#9D2F83 #4C9D2F #2F9D80
monochromatic
#3F1334 #6E215C #9D2F83 #C743A7 #D572BD

Accessibility & contrast

On white

6.63
#9D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D2F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F83
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F83#FFFFFF#000000##FFFFFF
##9D2F831.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345285
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#A63355
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2f83;
/* rgb */ color: rgb(157, 47, 131);
/* oklch */ color: oklch(49.9% 0.172 338.8);
Tailwind
colors: {
  custom: {
    50: '#bd71a7',
    500: '#9d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f83;
$custom-light: #bd71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f83",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 314.182,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.17171,
    "h": 338.8
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#9D2F83
secondary
#6BBC7F
accent
#DD6D4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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