#9F274E#9F274E

#9F274E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 6.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F274E
RGBrgb(159, 39, 78)
HSLhsl(341, 61%, 39%)
HSVhsv(341, 75%, 62%)
CMYKcmyk(0%, 75.5%, 50.9%, 37.6%)
CIE-LABlab(36.70, 51.23, 6.56)
CIE-LCHlch(36.70, 51.64, 7.30°)
OKLaboklab(47.46% 0.1564 0.0171)
OKLCHoklch(47.46% 0.157 6.2)
XYZxyz(16.4002, 9.3743, 8.1521)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F274E #279F78
analogous
#9F278A #9F274E #9F3C27
triadic
#9F274E #4E9F27 #274E9F
tetradic
#9F274E #8A9F27 #279F78 #3C279F
square
#9F274E #8A9F27 #279F78 #3C279F
split-complementary
#9F274E #279F3C #278A9F
monochromatic
#3D0F1E #6E1B36 #9F274E #CE3667 #DA678C

Accessibility & contrast

On white

7.31
#9F274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F274E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F274E#FFFFFF#000000##FFFFFF
##9F274E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474F
Deuteranopia (green-blind)
#645F4B
Tritanopia (blue-blind)
#AD0A37
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f274e;
/* rgb */ color: rgb(159, 39, 78);
/* oklch */ color: oklch(47.5% 0.157 6.2);
Tailwind
colors: {
  custom: {
    50: '#c16c7f',
    500: '#9f274e',
    950: '#000000',
  },
}
SCSS
$custom: #9f274e;
$custom-light: #c16c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f274e",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 340.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47463,
    "c": 0.15729,
    "h": 6.2
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#9F274E
secondary
#62C0A1
accent
#E4B044
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F274E

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

Preview Lab → · Contrast checker → · Palette generator →

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