#9D2F6E#9D2F6E

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

Color values

HEX#9D2F6E
RGBrgb(157, 47, 110)
HSLhsl(326, 54%, 40%)
HSVhsv(326, 70%, 62%)
CMYKcmyk(0%, 70.1%, 29.9%, 38.4%)
CIE-LABlab(38.43, 51.13, -11.28)
CIE-LCHlch(38.43, 52.36, 347.56°)
OKLaboklab(49.01% 0.1557 -0.0295)
OKLCHoklch(49.01% 0.158 349.3)
XYZxyz(17.7365, 10.3289, 15.8084)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F6E #2F9D5E
analogous
#952F9D #9D2F6E #9D2F37
triadic
#9D2F6E #6E9D2F #2F6E9D
tetradic
#9D2F6E #9D952F #2F9D5E #2F379D
square
#9D2F6E #9D952F #2F9D5E #2F379D
split-complementary
#9D2F6E #379D2F #2F9D95
monochromatic
#3F132C #6E214D #9D2F6E #C7438E #D572AA

Accessibility & contrast

On white

6.85
#9D2F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2F6E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F6E#FFFFFF#000000##FFFFFF
##9D2F6E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#5E626B
Tritanopia (blue-blind)
#A82A4A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2f6e;
/* rgb */ color: rgb(157, 47, 110);
/* oklch */ color: oklch(49.0% 0.158 349.3);
Tailwind
colors: {
  custom: {
    50: '#be7097',
    500: '#9d2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f6e;
$custom-light: #be7097;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f6e",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 325.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49009,
    "c": 0.15843,
    "h": 349.3
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#9D2F6E
secondary
#6BBC8E
accent
#DD894B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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