#9F123F#9F123F

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

Color values

HEX#9F123F
RGBrgb(159, 18, 63)
HSLhsl(341, 80%, 35%)
HSVhsv(341, 89%, 62%)
CMYKcmyk(0%, 88.7%, 60.4%, 37.6%)
CIE-LABlab(34.32, 55.75, 12.99)
CIE-LCHlch(34.32, 57.24, 13.11°)
OKLaboklab(45.6% 0.1688 0.0322)
OKLCHoklch(45.6% 0.172 10.8)
XYZxyz(15.4132, 8.1648, 5.4660)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F123F #129F72
analogous
#9F1286 #9F123F #9F2C12
triadic
#9F123F #3F9F12 #123F9F
tetradic
#9F123F #869F12 #129F72 #2C129F
square
#9F123F #869F12 #129F72 #2C129F
split-complementary
#9F123F #129F2C #12869F
monochromatic
#310613 #680C29 #9F123F #D61855 #EA4277

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F123F#FFFFFF#000000##FFFFFF
##9F123F1.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)
#3F3F40
Deuteranopia (green-blind)
#625B3B
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f123f;
/* rgb */ color: rgb(159, 18, 63);
/* oklch */ color: oklch(45.6% 0.172 10.8);
Tailwind
colors: {
  custom: {
    50: '#c36473',
    500: '#9f123f',
    950: '#000000',
  },
}
SCSS
$custom: #9f123f;
$custom-light: #c36473;
$custom-dark: #000000;
JSON
{
  "hex": "#9f123f",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 340.851,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.17187,
    "h": 10.8
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#9F123F
secondary
#43CA9F
accent
#F6B732
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140608
muted
#827A7B

Preview Lab

Preview with #9F123F

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

Preview Lab → · Contrast checker → · Palette generator →

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