#7F1D30#7F1D30

#7F1D30 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.132 H 14.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7F1D30
RGBrgb(127, 29, 48)
HSLhsl(348, 63%, 31%)
HSVhsv(348, 77%, 50%)
CMYKcmyk(0%, 77.2%, 62.2%, 50.2%)
CIE-LABlab(28.39, 42.51, 13.78)
CIE-LCHlch(28.39, 44.69, 17.95°)
OKLaboklab(39.94% 0.1276 0.0338)
OKLCHoklch(39.94% 0.132 14.8)
XYZxyz(9.7262, 5.6056, 3.3656)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D30 #1D7F6C
analogous
#7F1D61 #7F1D30 #7F3B1D
triadic
#7F1D30 #307F1D #1D307F
tetradic
#7F1D30 #617F1D #1D7F6C #3B1D7F
square
#7F1D30 #617F1D #1D7F6C #3B1D7F
split-complementary
#7F1D30 #1D7F3B #1D617F
monochromatic
#1B060A #4D121D #7F1D30 #B12843 #D4425F

Accessibility & contrast

On white

9.90
#7F1D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D30
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D30#FFFFFF#000000##FFFFFF
##7F1D301.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383630
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1d30;
/* rgb */ color: rgb(127, 29, 48);
/* oklch */ color: oklch(39.9% 0.132 14.8);
Tailwind
colors: {
  custom: {
    50: '#aa6268',
    500: '#7f1d30',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d30;
$custom-light: #aa6268;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d30",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 48
  },
  "hsl": {
    "h": 348.367,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.13201,
    "h": 14.8
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#7F1D30
secondary
#45B29D
accent
#E6C642
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F1D30

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

Preview Lab → · Contrast checker → · Palette generator →

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