#7F1730#7F1730

#7F1730 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.138 H 13.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7F1730
RGBrgb(127, 23, 48)
HSLhsl(346, 69%, 29%)
HSVhsv(346, 82%, 50%)
CMYKcmyk(0%, 81.9%, 62.2%, 50.2%)
CIE-LABlab(27.68, 44.52, 12.82)
CIE-LCHlch(27.68, 46.33, 16.07°)
OKLaboklab(39.41% 0.1341 0.0316)
OKLCHoklch(39.41% 0.138 13.2)
XYZxyz(9.5933, 5.3397, 3.3212)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1730 #177F66
analogous
#7F1764 #7F1730 #7F3217
triadic
#7F1730 #307F17 #17307F
tetradic
#7F1730 #647F17 #177F66 #32177F
square
#7F1730 #647F17 #177F66 #32177F
split-complementary
#7F1730 #177F32 #17647F
monochromatic
#1A050A #4B0E1C #7F1730 #B32044 #DB365D

Accessibility & contrast

On white

10.16
#7F1730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1730
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1730#FFFFFF#000000##FFFFFF
##7F17301.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353430
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1730;
/* rgb */ color: rgb(127, 23, 48);
/* oklch */ color: oklch(39.4% 0.138 13.2);
Tailwind
colors: {
  custom: {
    50: '#aa6068',
    500: '#7f1730',
    950: '#000000',
  },
}
SCSS
$custom: #7f1730;
$custom-light: #aa6068;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1730",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 345.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.13773,
    "h": 13.2
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#7F1730
secondary
#3EB497
accent
#ECC23C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1730

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

Preview Lab → · Contrast checker → · Palette generator →

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