#9F2338#9F2338

#9F2338 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.6% C 0.159 H 17.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9F2338
RGBrgb(159, 35, 56)
HSLhsl(350, 64%, 38%)
HSVhsv(350, 78%, 62%)
CMYKcmyk(0%, 78%, 64.8%, 37.6%)
CIE-LABlab(35.72, 50.93, 19.36)
CIE-LCHlch(35.72, 54.49, 20.82°)
OKLaboklab(46.57% 0.1519 0.0465)
OKLCHoklch(46.57% 0.159 17)
XYZxyz(15.6146, 8.8609, 4.6287)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2338 #239F8A
analogous
#9F2376 #9F2338 #9F4C23
triadic
#9F2338 #389F23 #23389F
tetradic
#9F2338 #769F23 #239F8A #4C239F
square
#9F2338 #769F23 #239F8A #4C239F
split-complementary
#9F2338 #239F4C #23769F
monochromatic
#3B0D15 #6D1826 #9F2338 #D12E4A #DC6075

Accessibility & contrast

On white

7.58
#9F2338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F2338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2338
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2338#FFFFFF#000000##FFFFFF
##9F23381.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474338
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#AF002C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2338;
/* rgb */ color: rgb(159, 35, 56);
/* oklch */ color: oklch(46.6% 0.159 17.0);
Tailwind
colors: {
  custom: {
    50: '#c36a6e',
    500: '#9f2338',
    950: '#000000',
  },
}
SCSS
$custom: #9f2338;
$custom-light: #c36a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2338",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 349.839,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.15885,
    "h": 17
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#9F2338
secondary
#5DC1B0
accent
#E7CB41
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2338

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

Preview Lab → · Contrast checker → · Palette generator →

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