#7F1930#7F1930

#7F1930 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.6% C 0.136 H 13.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7F1930
RGBrgb(127, 25, 48)
HSLhsl(346, 67%, 30%)
HSVhsv(346, 80%, 50%)
CMYKcmyk(0%, 80.3%, 62.2%, 50.2%)
CIE-LABlab(27.91, 43.89, 13.12)
CIE-LCHlch(27.91, 45.81, 16.65°)
OKLaboklab(39.57% 0.132 0.0323)
OKLCHoklch(39.57% 0.136 13.7)
XYZxyz(9.6345, 5.4221, 3.3350)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1930 #197F68
analogous
#7F1963 #7F1930 #7F3519
triadic
#7F1930 #307F19 #19307F
tetradic
#7F1930 #637F19 #197F68 #35197F
square
#7F1930 #637F19 #197F68 #35197F
split-complementary
#7F1930 #197F35 #19637F
monochromatic
#1A050A #4C0F1D #7F1930 #B22343 #D83A5E

Accessibility & contrast

On white

10.08
#7F1930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1930
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1930#FFFFFF#000000##FFFFFF
##7F19301.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363430
Deuteranopia (green-blind)
#50492D
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1930;
/* rgb */ color: rgb(127, 25, 48);
/* oklch */ color: oklch(39.6% 0.136 13.7);
Tailwind
colors: {
  custom: {
    50: '#aa6068',
    500: '#7f1930',
    950: '#000000',
  },
}
SCSS
$custom: #7f1930;
$custom-light: #aa6068;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1930",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 48
  },
  "hsl": {
    "h": 346.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.13592,
    "h": 13.7
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#7F1930
secondary
#41B399
accent
#EAC33E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1930

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

Preview Lab → · Contrast checker → · Palette generator →

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