#9F252F#9F252F

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

Color values

HEX#9F252F
RGBrgb(159, 37, 47)
HSLhsl(355, 62%, 38%)
HSVhsv(355, 77%, 62%)
CMYKcmyk(0%, 76.7%, 70.4%, 37.6%)
CIE-LABlab(35.79, 49.77, 25.16)
CIE-LCHlch(35.79, 55.77, 26.81°)
OKLaboklab(46.58% 0.1462 0.0584)
OKLCHoklch(46.58% 0.157 21.8)
XYZxyz(15.4745, 8.9017, 3.5922)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F252F #259F95
analogous
#9F256C #9F252F #9F5825
triadic
#9F252F #2F9F25 #252F9F
tetradic
#9F252F #6C9F25 #259F95 #58259F
square
#9F252F #6C9F25 #259F95 #58259F
split-complementary
#9F252F #259F58 #256C9F
monochromatic
#3C0E12 #6D1920 #9F252F #CF323F #DB646D

Accessibility & contrast

On white

7.55
#9F252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F252F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F252F#FFFFFF#000000##FFFFFF
##9F252F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442E
Deuteranopia (green-blind)
#675E2B
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f252f;
/* rgb */ color: rgb(159, 37, 47);
/* oklch */ color: oklch(46.6% 0.157 21.8);
Tailwind
colors: {
  custom: {
    50: '#c36a67',
    500: '#9f252f',
    950: '#000000',
  },
}
SCSS
$custom: #9f252f;
$custom-light: #c36a67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f252f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 355.082,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.15741,
    "h": 21.8
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#9F252F
secondary
#5FC0B8
accent
#E5D842
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F252F

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

Preview Lab → · Contrast checker → · Palette generator →

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