#9B2F27#9B2F27

#9B2F27 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.145 H 28.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9B2F27
RGBrgb(155, 47, 39)
HSLhsl(4, 60%, 38%)
HSVhsv(4, 75%, 61%)
CMYKcmyk(0%, 69.7%, 74.8%, 39.2%)
CIE-LABlab(36.27, 44.30, 30.39)
CIE-LCHlch(36.27, 53.72, 34.45°)
OKLaboklab(46.76% 0.1276 0.0685)
OKLCHoklch(46.76% 0.145 28.2)
XYZxyz(14.9019, 9.1503, 2.9006)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F27 #27939B
analogous
#9B2759 #9B2F27 #9B6927
triadic
#9B2F27 #279B2F #2F279B
tetradic
#9B2F27 #599B27 #27939B #69279B
square
#9B2F27 #599B27 #27939B #69279B
split-complementary
#9B2F27 #279B69 #27599B
monochromatic
#39110E #6A201B #9B2F27 #CC3E33 #D86C64

Accessibility & contrast

On white

7.42
#9B2F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B2F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2F27
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F27#FFFFFF#000000##FFFFFF
##9B2F271.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4625
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#AB0C2E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b2f27;
/* rgb */ color: rgb(155, 47, 39);
/* oklch */ color: oklch(46.8% 0.145 28.2);
Tailwind
colors: {
  custom: {
    50: '#c06e61',
    500: '#9b2f27',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f27;
$custom-light: #c06e61;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f27",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 4.138,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.14485,
    "h": 28.2
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#9B2F27
secondary
#60B7BE
accent
#D8E345
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140805
muted
#827B79

Preview Lab

Preview with #9B2F27

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

Preview Lab → · Contrast checker → · Palette generator →

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