#9F233F#9F233F

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

Color values

HEX#9F233F
RGBrgb(159, 35, 63)
HSLhsl(346, 64%, 38%)
HSVhsv(346, 78%, 62%)
CMYKcmyk(0%, 78%, 60.4%, 37.6%)
CIE-LABlab(35.86, 51.39, 15.06)
CIE-LCHlch(35.86, 53.55, 16.33°)
OKLaboklab(46.73% 0.1547 0.0371)
OKLCHoklch(46.73% 0.159 13.5)
XYZxyz(15.7979, 8.9342, 5.5943)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F233F #239F83
analogous
#9F237D #9F233F #9F4523
triadic
#9F233F #3F9F23 #233F9F
tetradic
#9F233F #7D9F23 #239F83 #45239F
square
#9F233F #7D9F23 #239F83 #45239F
split-complementary
#9F233F #239F45 #237D9F
monochromatic
#3B0D17 #6D182B #9F233F #D12E53 #DC607C

Accessibility & contrast

On white

7.54
#9F233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F233F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F233F#FFFFFF#000000##FFFFFF
##9F233F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45443F
Deuteranopia (green-blind)
#655E3C
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f233f;
/* rgb */ color: rgb(159, 35, 63);
/* oklch */ color: oklch(46.7% 0.159 13.5);
Tailwind
colors: {
  custom: {
    50: '#c26a73',
    500: '#9f233f',
    950: '#000000',
  },
}
SCSS
$custom: #9f233f;
$custom-light: #c26a73;
$custom-dark: #000000;
JSON
{
  "hex": "#9f233f",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 346.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.1591,
    "h": 13.5
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#9F233F
secondary
#5DC1AA
accent
#E7C141
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F233F

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

Preview Lab → · Contrast checker → · Palette generator →

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