#9F2638#9F2638

#9F2638 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.8% C 0.156 H 17.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9F2638
RGBrgb(159, 38, 56)
HSLhsl(351, 61%, 39%)
HSVhsv(351, 76%, 62%)
CMYKcmyk(0%, 76.1%, 64.8%, 37.6%)
CIE-LABlab(36.07, 49.94, 19.82)
CIE-LCHlch(36.07, 53.73, 21.65°)
OKLaboklab(46.84% 0.1487 0.0476)
OKLCHoklch(46.84% 0.156 17.7)
XYZxyz(15.7067, 9.0450, 4.6594)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2638 #269F8D
analogous
#9F2674 #9F2638 #9F5026
triadic
#9F2638 #389F26 #26389F
tetradic
#9F2638 #749F26 #269F8D #50269F
square
#9F2638 #749F26 #269F8D #50269F
split-complementary
#9F2638 #269F50 #26749F
monochromatic
#3C0E15 #6E1A27 #9F2638 #CE344B #DA6577

Accessibility & contrast

On white

7.48
#9F2638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F2638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2638
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2638#FFFFFF#000000##FFFFFF
##9F26381.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484538
Deuteranopia (green-blind)
#675E35
Tritanopia (blue-blind)
#AF002E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2638;
/* rgb */ color: rgb(159, 38, 56);
/* oklch */ color: oklch(46.8% 0.156 17.7);
Tailwind
colors: {
  custom: {
    50: '#c26b6e',
    500: '#9f2638',
    950: '#000000',
  },
}
SCSS
$custom: #9f2638;
$custom-light: #c26b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2638",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 56
  },
  "hsl": {
    "h": 351.074,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.15611,
    "h": 17.7
  },
  "luminance": 0.09043
}

Semantic roles & 50–950 ramp

primary
#9F2638
secondary
#61C0B2
accent
#E5CD43
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2638

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

Preview Lab → · Contrast checker → · Palette generator →

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