#9D2F6F#9D2F6F

#9D2F6F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.159 H 348.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D2F6F
RGBrgb(157, 47, 111)
HSLhsl(325, 54%, 40%)
HSVhsv(325, 70%, 62%)
CMYKcmyk(0%, 70.1%, 29.3%, 38.4%)
CIE-LABlab(38.46, 51.26, -11.85)
CIE-LCHlch(38.46, 52.61, 346.98°)
OKLaboklab(49.05% 0.1559 -0.0311)
OKLCHoklch(49.05% 0.159 348.7)
XYZxyz(17.7912, 10.3508, 16.0968)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F6F #2F9D5D
analogous
#942F9D #9D2F6F #9D2F38
triadic
#9D2F6F #6F9D2F #2F6F9D
tetradic
#9D2F6F #9D942F #2F9D5D #2F389D
square
#9D2F6F #9D942F #2F9D5D #2F389D
split-complementary
#9D2F6F #389D2F #2F9D94
monochromatic
#3F132C #6E214E #9D2F6F #C7438F #D572AB

Accessibility & contrast

On white

6.84
#9D2F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F6F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F6F#FFFFFF#000000##FFFFFF
##9D2F6F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E71
Deuteranopia (green-blind)
#5E626C
Tritanopia (blue-blind)
#A82A4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f6f;
/* rgb */ color: rgb(157, 47, 111);
/* oklch */ color: oklch(49.0% 0.159 348.7);
Tailwind
colors: {
  custom: {
    50: '#be7098',
    500: '#9d2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f6f;
$custom-light: #be7098;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f6f",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 325.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.15898,
    "h": 348.7
  },
  "luminance": 0.10349
}

Semantic roles & 50–950 ramp

primary
#9D2F6F
secondary
#6BBC8D
accent
#DD884B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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