#9F2233#9F2233

#9F2233 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.160 H 19.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2233
RGBrgb(159, 34, 51)
HSLhsl(352, 65%, 38%)
HSVhsv(352, 79%, 62%)
CMYKcmyk(0%, 78.6%, 67.9%, 37.6%)
CIE-LABlab(35.51, 50.96, 22.29)
CIE-LCHlch(35.51, 55.62, 23.62°)
OKLaboklab(46.39% 0.1509 0.0526)
OKLCHoklch(46.39% 0.16 19.2)
XYZxyz(15.4694, 8.7564, 4.0069)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2233 #229F8E
analogous
#9F2271 #9F2233 #9F4F22
triadic
#9F2233 #339F22 #22339F
tetradic
#9F2233 #719F22 #229F8E #4F229F
square
#9F2233 #719F22 #229F8E #4F229F
split-complementary
#9F2233 #229F4F #22719F
monochromatic
#3A0C13 #6D1723 #9F2233 #D12D43 #DD5F70

Accessibility & contrast

On white

7.63
#9F2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F2233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2233
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2233#FFFFFF#000000##FFFFFF
##9F22331.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474333
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2233;
/* rgb */ color: rgb(159, 34, 51);
/* oklch */ color: oklch(46.4% 0.160 19.2);
Tailwind
colors: {
  custom: {
    50: '#c3696a',
    500: '#9f2233',
    950: '#000000',
  },
}
SCSS
$custom: #9f2233;
$custom-light: #c3696a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2233",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 351.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.15979,
    "h": 19.2
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#9F2233
secondary
#5BC1B4
accent
#E8D140
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9F2233

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

Preview Lab → · Contrast checker → · Palette generator →

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