#9D2F63#9D2F63

#9D2F63 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.153 H 355.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D2F63
RGBrgb(157, 47, 99)
HSLhsl(332, 54%, 40%)
HSVhsv(332, 70%, 62%)
CMYKcmyk(0%, 70.1%, 36.9%, 38.4%)
CIE-LABlab(38.03, 49.79, -4.94)
CIE-LCHlch(38.03, 50.04, 354.33°)
OKLaboklab(48.59% 0.1525 -0.0124)
OKLCHoklch(48.59% 0.153 355.4)
XYZxyz(17.1743, 10.1040, 12.8478)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F63 #2F9D69
analogous
#9D2F9A #9D2F63 #9D322F
triadic
#9D2F63 #639D2F #2F639D
tetradic
#9D2F63 #9A9D2F #2F9D69 #322F9D
square
#9D2F63 #9A9D2F #2F9D69 #322F9D
split-complementary
#9D2F63 #2F9D32 #2F9A9D
monochromatic
#3F1328 #6E2145 #9D2F63 #C74381 #D572A1

Accessibility & contrast

On white

6.95
#9D2F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2F63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F63
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F63#FFFFFF#000000##FFFFFF
##9D2F631.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D64
Deuteranopia (green-blind)
#616160
Tritanopia (blue-blind)
#A92545
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2f63;
/* rgb */ color: rgb(157, 47, 99);
/* oklch */ color: oklch(48.6% 0.153 355.4);
Tailwind
colors: {
  custom: {
    50: '#be708f',
    500: '#9d2f63',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f63;
$custom-light: #be708f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f63",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 331.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.15297,
    "h": 355.4
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#9D2F63
secondary
#6BBC96
accent
#DD984B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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