#7F152C#7F152C

#7F152C is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 15.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7F152C
RGBrgb(127, 21, 44)
HSLhsl(347, 72%, 29%)
HSVhsv(347, 83%, 50%)
CMYKcmyk(0%, 83.5%, 65.4%, 50.2%)
CIE-LABlab(27.38, 44.84, 15.12)
CIE-LCHlch(27.38, 47.32, 18.63°)
OKLaboklab(39.16% 0.1343 0.0366)
OKLCHoklch(39.16% 0.139 15.2)
XYZxyz(9.4762, 5.2317, 2.8932)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F152C #157F68
analogous
#7F1561 #7F152C #7F3315
triadic
#7F152C #2C7F15 #152C7F
tetradic
#7F152C #617F15 #157F68 #33157F
square
#7F152C #617F15 #157F68 #33157F
split-complementary
#7F152C #157F33 #15617F
monochromatic
#1A0409 #4A0C1A #7F152C #B41E3E #DD3157

Accessibility & contrast

On white

10.26
#7F152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F152C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F152C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F152C#FFFFFF#000000##FFFFFF
##7F152C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#4F4829
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f152c;
/* rgb */ color: rgb(127, 21, 44);
/* oklch */ color: oklch(39.2% 0.139 15.2);
Tailwind
colors: {
  custom: {
    50: '#ab5f64',
    500: '#7f152c',
    950: '#000000',
  },
}
SCSS
$custom: #7f152c;
$custom-light: #ab5f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f152c",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 346.981,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.13919,
    "h": 15.2
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#7F152C
secondary
#3CB49A
accent
#EEC739
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F152C

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

Preview Lab → · Contrast checker → · Palette generator →

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