#9F334C#9F334C

#9F334C is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.6% C 0.143 H 10.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F334C
RGBrgb(159, 51, 76)
HSLhsl(346, 51%, 41%)
HSVhsv(346, 68%, 62%)
CMYKcmyk(0%, 67.9%, 52.2%, 37.6%)
CIE-LABlab(38.31, 46.44, 10.11)
CIE-LCHlch(38.31, 47.53, 12.28°)
OKLaboklab(48.64% 0.1408 0.0258)
OKLCHoklch(48.64% 0.143 10.4)
XYZxyz(16.7878, 10.2626, 7.9329)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F334C #339F86
analogous
#9F3382 #9F334C #9F5033
triadic
#9F334C #4C9F33 #334C9F
tetradic
#9F334C #829F33 #339F86 #50339F
square
#9F334C #829F33 #339F86 #50339F
split-complementary
#9F334C #339F50 #33829F
monochromatic
#421520 #712436 #9F334C #C54A67 #D4798E

Accessibility & contrast

On white

6.88
#9F334C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F334C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F334C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F334C#FFFFFF#000000##FFFFFF
##9F334C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#AD203D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f334c;
/* rgb */ color: rgb(159, 51, 76);
/* oklch */ color: oklch(48.6% 0.143 10.4);
Tailwind
colors: {
  custom: {
    50: '#c1727d',
    500: '#9f334c',
    950: '#000000',
  },
}
SCSS
$custom: #9f334c;
$custom-light: #c1727d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f334c",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 346.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.14317,
    "h": 10.4
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#9F334C
secondary
#71BCAB
accent
#DBBA4D
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9F334C

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

Preview Lab → · Contrast checker → · Palette generator →

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