#9A274D#9A274D

#9A274D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.152 H 5.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9A274D
RGBrgb(154, 39, 77)
HSLhsl(340, 60%, 38%)
HSVhsv(340, 75%, 60%)
CMYKcmyk(0%, 74.7%, 50%, 39.6%)
CIE-LABlab(35.71, 49.65, 5.67)
CIE-LCHlch(35.71, 49.97, 6.52°)
OKLaboklab(46.55% 0.1516 0.0149)
OKLCHoklch(46.55% 0.152 5.6)
XYZxyz(15.3928, 8.8590, 7.9191)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A274D #279A74
analogous
#9A2786 #9A274D #9A3B27
triadic
#9A274D #4D9A27 #274D9A
tetradic
#9A274D #869A27 #279A74 #3B279A
square
#9A274D #869A27 #279A74 #3B279A
split-complementary
#9A274D #279A3B #27869A
monochromatic
#380E1C #691B35 #9A274D #CB3365 #D8648A

Accessibility & contrast

On white

7.58
#9A274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A274D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A274D#FFFFFF#000000##FFFFFF
##9A274D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#A80E37
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a274d;
/* rgb */ color: rgb(154, 39, 77);
/* oklch */ color: oklch(46.6% 0.152 5.6);
Tailwind
colors: {
  custom: {
    50: '#bd6b7e',
    500: '#9a274d',
    950: '#000000',
  },
}
SCSS
$custom: #9a274d;
$custom-light: #bd6b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a274d",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 340.174,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.15237,
    "h": 5.6
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#9A274D
secondary
#5FBD9E
accent
#E3AF45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A274D

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

Preview Lab → · Contrast checker → · Palette generator →

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