#9F2145#9F2145

#9F2145 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.162 H 10.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2145
RGBrgb(159, 33, 69)
HSLhsl(343, 66%, 38%)
HSVhsv(343, 79%, 62%)
CMYKcmyk(0%, 79.2%, 56.6%, 37.6%)
CIE-LABlab(35.77, 52.44, 11.07)
CIE-LCHlch(35.77, 53.60, 11.92°)
OKLaboklab(46.71% 0.1591 0.0279)
OKLCHoklch(46.71% 0.162 10)
XYZxyz(15.9177, 8.8906, 6.5070)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2145 #219F7B
analogous
#9F2184 #9F2145 #9F3C21
triadic
#9F2145 #459F21 #21459F
tetradic
#9F2145 #849F21 #219F7B #3C219F
square
#9F2145 #849F21 #219F7B #3C219F
split-complementary
#9F2145 #219F3C #21849F
monochromatic
#3A0C19 #6C162F #9F2145 #D22C5B #DD5D82

Accessibility & contrast

On white

7.56
#9F2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2145
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2145#FFFFFF#000000##FFFFFF
##9F21451.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434446
Deuteranopia (green-blind)
#645D42
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2145;
/* rgb */ color: rgb(159, 33, 69);
/* oklch */ color: oklch(46.7% 0.162 10.0);
Tailwind
colors: {
  custom: {
    50: '#c26978',
    500: '#9f2145',
    950: '#000000',
  },
}
SCSS
$custom: #9f2145;
$custom-light: #c26978;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2145",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 342.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46707,
    "c": 0.16156,
    "h": 10
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#9F2145
secondary
#5AC2A4
accent
#E9B83F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2145

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

Preview Lab → · Contrast checker → · Palette generator →

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