#9F2242#9F2242

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

Color values

HEX#9F2242
RGBrgb(159, 34, 66)
HSLhsl(345, 65%, 38%)
HSVhsv(345, 79%, 62%)
CMYKcmyk(0%, 78.6%, 58.5%, 37.6%)
CIE-LABlab(35.81, 51.91, 13.06)
CIE-LCHlch(35.81, 53.53, 14.12°)
OKLaboklab(46.71% 0.1569 0.0326)
OKLCHoklch(46.71% 0.16 11.7)
XYZxyz(15.8550, 8.9106, 6.0383)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2242 #229F7F
analogous
#9F2280 #9F2242 #9F4022
triadic
#9F2242 #429F22 #22429F
tetradic
#9F2242 #809F22 #229F7F #40229F
square
#9F2242 #809F22 #229F7F #40229F
split-complementary
#9F2242 #229F40 #22809F
monochromatic
#3A0C18 #6D172D #9F2242 #D12D57 #DD5F7F

Accessibility & contrast

On white

7.55
#9F2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2242
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2242#FFFFFF#000000##FFFFFF
##9F22421.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2242;
/* rgb */ color: rgb(159, 34, 66);
/* oklch */ color: oklch(46.7% 0.160 11.7);
Tailwind
colors: {
  custom: {
    50: '#c26a76',
    500: '#9f2242',
    950: '#000000',
  },
}
SCSS
$custom: #9f2242;
$custom-light: #c26a76;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2242",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 344.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.16028,
    "h": 11.7
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#9F2242
secondary
#5BC1A7
accent
#E8BD40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2242

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

Preview Lab → · Contrast checker → · Palette generator →

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