#9F2845#9F2845

#9F2845 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.155 H 11.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9F2845
RGBrgb(159, 40, 69)
HSLhsl(345, 60%, 39%)
HSVhsv(345, 75%, 62%)
CMYKcmyk(0%, 74.8%, 56.6%, 37.6%)
CIE-LABlab(36.59, 50.14, 12.20)
CIE-LCHlch(36.59, 51.60, 13.68°)
OKLaboklab(47.31% 0.1517 0.0306)
OKLCHoklch(47.31% 0.155 11.4)
XYZxyz(16.1326, 9.3205, 6.5786)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2845 #289F82
analogous
#9F2881 #9F2845 #9F4728
triadic
#9F2845 #459F28 #28459F
tetradic
#9F2845 #819F28 #289F82 #47289F
square
#9F2845 #819F28 #289F82 #47289F
split-complementary
#9F2845 #289F47 #28819F
monochromatic
#3D0F1B #6E1C30 #9F2845 #CD375C #D96884

Accessibility & contrast

On white

7.33
#9F2845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F2845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2845
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2845#FFFFFF#000000##FFFFFF
##9F28451.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474745
Deuteranopia (green-blind)
#665F42
Tritanopia (blue-blind)
#AE0434
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2845;
/* rgb */ color: rgb(159, 40, 69);
/* oklch */ color: oklch(47.3% 0.155 11.4);
Tailwind
colors: {
  custom: {
    50: '#c26c78',
    500: '#9f2845',
    950: '#000000',
  },
}
SCSS
$custom: #9f2845;
$custom-light: #c26c78;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2845",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 345.378,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.15477,
    "h": 11.4
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#9F2845
secondary
#64BFA9
accent
#E3BC45
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2845

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

Preview Lab → · Contrast checker → · Palette generator →

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