#9F1438#9F1438

#9F1438 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.170 H 14.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9F1438
RGBrgb(159, 20, 56)
HSLhsl(344, 78%, 35%)
HSVhsv(344, 87%, 62%)
CMYKcmyk(0%, 87.4%, 64.8%, 37.6%)
CIE-LABlab(34.31, 54.91, 17.54)
CIE-LCHlch(34.31, 57.64, 17.71°)
OKLaboklab(45.54% 0.1647 0.0423)
OKLCHoklch(45.54% 0.17 14.4)
XYZxyz(15.2637, 8.1592, 4.5118)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1438 #149F7B
analogous
#9F147E #9F1438 #9F3514
triadic
#9F1438 #389F14 #14389F
tetradic
#9F1438 #7E9F14 #149F7B #35149F
square
#9F1438 #7E9F14 #149F7B #35149F
split-complementary
#9F1438 #149F35 #147E9F
monochromatic
#320612 #690D25 #9F1438 #D51B4B #E84670

Accessibility & contrast

On white

7.98
#9F1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9F1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1438
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1438#FFFFFF#000000##FFFFFF
##9F14381.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F38
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1438;
/* rgb */ color: rgb(159, 20, 56);
/* oklch */ color: oklch(45.5% 0.170 14.4);
Tailwind
colors: {
  custom: {
    50: '#c3656e',
    500: '#9f1438',
    950: '#000000',
  },
}
SCSS
$custom: #9f1438;
$custom-light: #c3656e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1438",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 344.46,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.17006,
    "h": 14.4
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#9F1438
secondary
#46C8A7
accent
#F4C234
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140607
muted
#837A7A

Preview Lab

Preview with #9F1438

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

Preview Lab → · Contrast checker → · Palette generator →

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