#9D277F#9D277F

#9D277F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.179 H 340.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D277F
RGBrgb(157, 39, 127)
HSLhsl(315, 60%, 38%)
HSVhsv(315, 75%, 62%)
CMYKcmyk(0%, 75.2%, 19.1%, 38.4%)
CIE-LABlab(38.12, 56.31, -22.36)
CIE-LCHlch(38.12, 60.58, 338.34°)
OKLaboklab(49.02% 0.1681 -0.0603)
OKLCHoklch(49.02% 0.179 340.2)
XYZxyz(18.4614, 10.1533, 21.0621)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D277F #279D45
analogous
#80279D #9D277F #9D2744
triadic
#9D277F #7F9D27 #277F9D
tetradic
#9D277F #9D8027 #279D45 #27449D
square
#9D277F #9D8027 #279D45 #27449D
split-complementary
#9D277F #449D27 #279D80
monochromatic
#3B0F30 #6C1B57 #9D277F #CD35A6 #D966BC

Accessibility & contrast

On white

6.93
#9D277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D277F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D277F#FFFFFF#000000##FFFFFF
##9D277F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#A62B50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d277f;
/* rgb */ color: rgb(157, 39, 127);
/* oklch */ color: oklch(49.0% 0.179 340.2);
Tailwind
colors: {
  custom: {
    50: '#be6da4',
    500: '#9d277f',
    950: '#000000',
  },
}
SCSS
$custom: #9d277f;
$custom-light: #be6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d277f",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 315.254,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.17858,
    "h": 340.2
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#9D277F
secondary
#61BF79
accent
#E36D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D277F

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

Preview Lab → · Contrast checker → · Palette generator →

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