#9F2671#9F2671

#9F2671 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.172 H 347.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F2671
RGBrgb(159, 38, 113)
HSLhsl(323, 61%, 39%)
HSVhsv(323, 76%, 62%)
CMYKcmyk(0%, 76.1%, 28.9%, 37.6%)
CIE-LABlab(37.76, 55.28, -14.15)
CIE-LCHlch(37.76, 57.07, 345.64°)
OKLaboklab(48.63% 0.1684 -0.0373)
OKLCHoklch(48.63% 0.172 347.5)
XYZxyz(17.9727, 9.9514, 16.5939)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2671 #269F54
analogous
#90269F #9F2671 #9F2634
triadic
#9F2671 #719F26 #26719F
tetradic
#9F2671 #9F9026 #269F54 #26349F
square
#9F2671 #9F9026 #269F54 #26349F
split-complementary
#9F2671 #349F26 #269F90
monochromatic
#3C0E2B #6E1A4E #9F2671 #CE3494 #DA65AE

Accessibility & contrast

On white

7.02
#9F2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2671
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2671#FFFFFF#000000##FFFFFF
##9F26711.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#5C606E
Tritanopia (blue-blind)
#AA2148
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2671;
/* rgb */ color: rgb(159, 38, 113);
/* oklch */ color: oklch(48.6% 0.172 347.5);
Tailwind
colors: {
  custom: {
    50: '#c06d9a',
    500: '#9f2671',
    950: '#000000',
  },
}
SCSS
$custom: #9f2671;
$custom-light: #c06d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2671",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 322.81,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.17244,
    "h": 347.5
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#9F2671
secondary
#61C085
accent
#E58143
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2671

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

Preview Lab → · Contrast checker → · Palette generator →

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