#7F263C#7F263C

#7F263C is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.123 H 9.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7F263C
RGBrgb(127, 38, 60)
HSLhsl(345, 54%, 32%)
HSVhsv(345, 70%, 50%)
CMYKcmyk(0%, 70.1%, 52.8%, 50.2%)
CIE-LABlab(29.98, 39.92, 7.96)
CIE-LCHlch(29.98, 40.70, 11.27°)
OKLaboklab(41.2% 0.1212 0.0204)
OKLCHoklch(41.2% 0.123 9.6)
XYZxyz(10.2620, 6.2258, 4.9354)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F263C #267F69
analogous
#7F2668 #7F263C #7F3D26
triadic
#7F263C #3C7F26 #263C7F
tetradic
#7F263C #687F26 #267F69 #3D267F
square
#7F263C #687F26 #267F69 #3D267F
split-complementary
#7F263C #267F3D #26687F
monochromatic
#210A0F #501826 #7F263C #AE3452 #CC5471

Accessibility & contrast

On white

9.35
#7F263C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F263C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F263C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F263C#FFFFFF#000000##FFFFFF
##7F263C1.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3C
Deuteranopia (green-blind)
#524D3A
Tritanopia (blue-blind)
#8B162F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f263c;
/* rgb */ color: rgb(127, 38, 60);
/* oklch */ color: oklch(41.2% 0.123 9.6);
Tailwind
colors: {
  custom: {
    50: '#a96771',
    500: '#7f263c',
    950: '#000000',
  },
}
SCSS
$custom: #7f263c;
$custom-light: #a96771;
$custom-dark: #000000;
JSON
{
  "hex": "#7f263c",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 345.169,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41204,
    "c": 0.1229,
    "h": 9.6
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#7F263C
secondary
#51B099
accent
#DDB94A
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F263C

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

Preview Lab → · Contrast checker → · Palette generator →

#7F263C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva