#9F2234#9F2234

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

Color values

HEX#9F2234
RGBrgb(159, 34, 52)
HSLhsl(351, 65%, 38%)
HSVhsv(351, 79%, 62%)
CMYKcmyk(0%, 78.6%, 67.3%, 37.6%)
CIE-LABlab(35.53, 51.02, 21.67)
CIE-LCHlch(35.53, 55.43, 23.02°)
OKLaboklab(46.41% 0.1513 0.0513)
OKLCHoklch(46.41% 0.16 18.7)
XYZxyz(15.4916, 8.7653, 4.1243)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2234 #229F8D
analogous
#9F2272 #9F2234 #9F4E22
triadic
#9F2234 #349F22 #22349F
tetradic
#9F2234 #729F22 #229F8D #4E229F
square
#9F2234 #729F22 #229F8D #4E229F
split-complementary
#9F2234 #229F4E #22729F
monochromatic
#3A0C13 #6D1724 #9F2234 #D12D44 #DD5F71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2234#FFFFFF#000000##FFFFFF
##9F22341.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)
#474334
Deuteranopia (green-blind)
#665D30
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2234;
/* rgb */ color: rgb(159, 34, 52);
/* oklch */ color: oklch(46.4% 0.160 18.7);
Tailwind
colors: {
  custom: {
    50: '#c3696b',
    500: '#9f2234',
    950: '#000000',
  },
}
SCSS
$custom: #9f2234;
$custom-light: #c3696b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2234",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 351.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46412,
    "c": 0.15976,
    "h": 18.7
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#9F2234
secondary
#5BC1B3
accent
#E8D040
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9F2234

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

Preview Lab → · Contrast checker → · Palette generator →

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