#9F274F#9F274F

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

Color values

HEX#9F274F
RGBrgb(159, 39, 79)
HSLhsl(340, 61%, 39%)
HSVhsv(340, 75%, 62%)
CMYKcmyk(0%, 75.5%, 50.3%, 37.6%)
CIE-LABlab(36.72, 51.31, 5.96)
CIE-LCHlch(36.72, 51.66, 6.62°)
OKLaboklab(47.49% 0.1567 0.0156)
OKLCHoklch(47.49% 0.158 5.7)
XYZxyz(16.4363, 9.3887, 8.3423)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F274F #279F77
analogous
#9F278B #9F274F #9F3B27
triadic
#9F274F #4F9F27 #274F9F
tetradic
#9F274F #8B9F27 #279F77 #3B279F
square
#9F274F #8B9F27 #279F77 #3B279F
split-complementary
#9F274F #279F3B #278B9F
monochromatic
#3D0F1E #6E1B37 #9F274F #CE3668 #DA678D

Accessibility & contrast

On white

7.30
#9F274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F274F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F274F#FFFFFF#000000##FFFFFF
##9F274F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#645F4C
Tritanopia (blue-blind)
#AD0B38
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f274f;
/* rgb */ color: rgb(159, 39, 79);
/* oklch */ color: oklch(47.5% 0.158 5.7);
Tailwind
colors: {
  custom: {
    50: '#c16c80',
    500: '#9f274f',
    950: '#000000',
  },
}
SCSS
$custom: #9f274f;
$custom-light: #c16c80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f274f",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 340,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.15752,
    "h": 5.7
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#9F274F
secondary
#62C0A0
accent
#E4AF44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F274F

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

Preview Lab → · Contrast checker → · Palette generator →

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