#9F2F63#9F2F63

#9F2F63 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.155 H 356.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F2F63
RGBrgb(159, 47, 99)
HSLhsl(332, 54%, 40%)
HSVhsv(332, 70%, 62%)
CMYKcmyk(0%, 70.4%, 37.7%, 37.6%)
CIE-LABlab(38.39, 50.39, -4.37)
CIE-LCHlch(38.39, 50.57, 355.04°)
OKLaboklab(48.92% 0.1544 -0.0109)
OKLCHoklch(48.92% 0.155 356)
XYZxyz(17.5678, 10.3069, 12.8662)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F63 #2F9F6B
analogous
#9F2F9B #9F2F63 #9F332F
triadic
#9F2F63 #639F2F #2F639F
tetradic
#9F2F63 #9B9F2F #2F9F6B #332F9F
square
#9F2F63 #9B9F2F #2F9F6B #332F9F
split-complementary
#9F2F63 #2F9F33 #2F9B9F
monochromatic
#411328 #702146 #9F2F63 #C84481 #D673A1

Accessibility & contrast

On white

6.86
#9F2F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2F63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F63
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F63#FFFFFF#000000##FFFFFF
##9F2F631.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D64
Deuteranopia (green-blind)
#626260
Tritanopia (blue-blind)
#AC2445
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2f63;
/* rgb */ color: rgb(159, 47, 99);
/* oklch */ color: oklch(48.9% 0.155 356.0);
Tailwind
colors: {
  custom: {
    50: '#c0708f',
    500: '#9f2f63',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f63;
$custom-light: #c0708f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f63",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 332.143,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.15474,
    "h": 356
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#9F2F63
secondary
#6DBD98
accent
#DE994A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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