#9F2038#9F2038

#9F2038 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.161 H 16.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9F2038
RGBrgb(159, 32, 56)
HSLhsl(349, 66%, 37%)
HSVhsv(349, 80%, 62%)
CMYKcmyk(0%, 79.9%, 64.8%, 37.6%)
CIE-LABlab(35.38, 51.86, 18.93)
CIE-LCHlch(35.38, 55.21, 20.05°)
OKLaboklab(46.33% 0.1549 0.0455)
OKLCHoklch(46.33% 0.161 16.4)
XYZxyz(15.5301, 8.6918, 4.6006)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2038 #209F87
analogous
#9F2078 #9F2038 #9F4720
triadic
#9F2038 #389F20 #20389F
tetradic
#9F2038 #789F20 #209F87 #47209F
square
#9F2038 #789F20 #209F87 #47209F
split-complementary
#9F2038 #209F47 #20789F
monochromatic
#390B14 #6C1626 #9F2038 #D22A4A #DE5B74

Accessibility & contrast

On white

7.67
#9F2038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F2038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2038
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2038#FFFFFF#000000##FFFFFF
##9F20381.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454238
Deuteranopia (green-blind)
#655D34
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2038;
/* rgb */ color: rgb(159, 32, 56);
/* oklch */ color: oklch(46.3% 0.161 16.4);
Tailwind
colors: {
  custom: {
    50: '#c3696e',
    500: '#9f2038',
    950: '#000000',
  },
}
SCSS
$custom: #9f2038;
$custom-light: #c3696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2038",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 348.661,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46329,
    "c": 0.16143,
    "h": 16.4
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#9F2038
secondary
#59C2AE
accent
#E9C93E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2038

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

Preview Lab → · Contrast checker → · Palette generator →

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