#9F2E5E#9F2E5E

#9F2E5E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.154 H 358.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F2E5E
RGBrgb(159, 46, 94)
HSLhsl(335, 55%, 40%)
HSVhsv(335, 71%, 62%)
CMYKcmyk(0%, 71.1%, 40.9%, 37.6%)
CIE-LABlab(38.08, 50.22, -1.65)
CIE-LCHlch(38.08, 50.25, 358.11°)
OKLaboklab(48.64% 0.154 -0.0037)
OKLCHoklch(48.64% 0.154 358.6)
XYZxyz(17.2966, 10.1352, 11.6329)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E5E #2E9F6F
analogous
#9F2E97 #9F2E5E #9F362E
triadic
#9F2E5E #5E9F2E #2E5E9F
tetradic
#9F2E5E #979F2E #2E9F6F #362E9F
square
#9F2E5E #979F2E #2E9F6F #362E9F
split-complementary
#9F2E5E #2E9F36 #2E979F
monochromatic
#401326 #702042 #9F2E5E #C8427B #D6719C

Accessibility & contrast

On white

6.94
#9F2E5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E5E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E5E#FFFFFF#000000##FFFFFF
##9F2E5E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#AC2042
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2e5e;
/* rgb */ color: rgb(159, 46, 94);
/* oklch */ color: oklch(48.6% 0.154 358.6);
Tailwind
colors: {
  custom: {
    50: '#c0708b',
    500: '#9f2e5e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e5e;
$custom-light: #c0708b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e5e",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 334.513,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.15399,
    "h": 358.6
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#9F2E5E
secondary
#6BBE9B
accent
#DE9F49
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F2E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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