#9A274E#9A274E

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

Color values

HEX#9A274E
RGBrgb(154, 39, 78)
HSLhsl(340, 60%, 38%)
HSVhsv(340, 75%, 60%)
CMYKcmyk(0%, 74.7%, 49.4%, 39.6%)
CIE-LABlab(35.74, 49.74, 5.07)
CIE-LCHlch(35.74, 49.99, 5.82°)
OKLaboklab(46.58% 0.152 0.0134)
OKLCHoklch(46.58% 0.153 5)
XYZxyz(15.4284, 8.8732, 8.1065)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A274E #279A73
analogous
#9A2787 #9A274E #9A3927
triadic
#9A274E #4E9A27 #274E9A
tetradic
#9A274E #879A27 #279A73 #39279A
square
#9A274E #879A27 #279A73 #39279A
split-complementary
#9A274E #279A39 #27879A
monochromatic
#380E1D #691B35 #9A274E #CB3367 #D8648B

Accessibility & contrast

On white

7.57
#9A274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A274E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A274E#FFFFFF#000000##FFFFFF
##9A274E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42464F
Deuteranopia (green-blind)
#615C4B
Tritanopia (blue-blind)
#A80F37
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a274e;
/* rgb */ color: rgb(154, 39, 78);
/* oklch */ color: oklch(46.6% 0.153 5.0);
Tailwind
colors: {
  custom: {
    50: '#bd6b7f',
    500: '#9a274e',
    950: '#000000',
  },
}
SCSS
$custom: #9a274e;
$custom-light: #bd6b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a274e",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 339.652,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.15261,
    "h": 5
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#9A274E
secondary
#5FBD9E
accent
#E3AD45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A274E

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

Preview Lab → · Contrast checker → · Palette generator →

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