#9F2E70#9F2E70

#9F2E70 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.162 H 348.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9F2E70
RGBrgb(159, 46, 112)
HSLhsl(325, 55%, 40%)
HSVhsv(325, 71%, 62%)
CMYKcmyk(0%, 71.1%, 29.6%, 37.6%)
CIE-LABlab(38.72, 52.33, -12.05)
CIE-LCHlch(38.72, 53.70, 347.03°)
OKLaboklab(49.32% 0.1593 -0.0316)
OKLCHoklch(49.32% 0.162 348.8)
XYZxyz(18.2006, 10.4968, 16.3937)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E70 #2E9F5D
analogous
#962E9F #9F2E70 #9F2E37
triadic
#9F2E70 #709F2E #2E709F
tetradic
#9F2E70 #9F962E #2E9F5D #2E379F
square
#9F2E70 #9F962E #2E9F5D #2E379F
split-complementary
#9F2E70 #379F2E #2E9F96
monochromatic
#40132D #70204F #9F2E70 #C84290 #D671AC

Accessibility & contrast

On white

6.78
#9F2E70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F2E70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E70
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E70#FFFFFF#000000##FFFFFF
##9F2E701.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F72
Deuteranopia (green-blind)
#5F626D
Tritanopia (blue-blind)
#AA294B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e70;
/* rgb */ color: rgb(159, 46, 112);
/* oklch */ color: oklch(49.3% 0.162 348.8);
Tailwind
colors: {
  custom: {
    50: '#bf7099',
    500: '#9f2e70',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e70;
$custom-light: #bf7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e70",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 324.956,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.16242,
    "h": 348.8
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#9F2E70
secondary
#6BBE8D
accent
#DE8749
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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