#7F1830#7F1830

#7F1830 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 13.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7F1830
RGBrgb(127, 24, 48)
HSLhsl(346, 68%, 30%)
HSVhsv(346, 81%, 50%)
CMYKcmyk(0%, 81.1%, 62.2%, 50.2%)
CIE-LABlab(27.79, 44.21, 12.97)
CIE-LCHlch(27.79, 46.07, 16.35°)
OKLaboklab(39.49% 0.1331 0.0319)
OKLCHoklch(39.49% 0.137 13.5)
XYZxyz(9.6135, 5.3801, 3.3280)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1830 #187F67
analogous
#7F1864 #7F1830 #7F3318
triadic
#7F1830 #307F18 #18307F
tetradic
#7F1830 #647F18 #187F67 #33187F
square
#7F1830 #647F18 #187F67 #33187F
split-complementary
#7F1830 #187F33 #18647F
monochromatic
#1A050A #4C0E1D #7F1830 #B22243 #D9385E

Accessibility & contrast

On white

10.12
#7F1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1830
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1830#FFFFFF#000000##FFFFFF
##7F18301.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1830;
/* rgb */ color: rgb(127, 24, 48);
/* oklch */ color: oklch(39.5% 0.137 13.5);
Tailwind
colors: {
  custom: {
    50: '#aa6068',
    500: '#7f1830',
    950: '#000000',
  },
}
SCSS
$custom: #7f1830;
$custom-light: #aa6068;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1830",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 346.019,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39491,
    "c": 0.13684,
    "h": 13.5
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#7F1830
secondary
#3FB398
accent
#EBC23D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1830

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

Preview Lab → · Contrast checker → · Palette generator →

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