#7F152E#7F152E

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

Color values

HEX#7F152E
RGBrgb(127, 21, 46)
HSLhsl(346, 72%, 29%)
HSVhsv(346, 83%, 50%)
CMYKcmyk(0%, 83.5%, 63.8%, 50.2%)
CIE-LABlab(27.43, 44.97, 13.83)
CIE-LCHlch(27.43, 47.05, 17.09°)
OKLaboklab(39.21% 0.1352 0.0338)
OKLCHoklch(39.21% 0.139 14)
XYZxyz(9.5147, 5.2471, 3.0960)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F152E #157F66
analogous
#7F1563 #7F152E #7F3115
triadic
#7F152E #2E7F15 #152E7F
tetradic
#7F152E #637F15 #157F66 #31157F
square
#7F152E #637F15 #157F66 #31157F
split-complementary
#7F152E #157F31 #15637F
monochromatic
#1A040A #4A0C1B #7F152E #B41E41 #DD315A

Accessibility & contrast

On white

10.25
#7F152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F152E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F152E#FFFFFF#000000##FFFFFF
##7F152E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f152e;
/* rgb */ color: rgb(127, 21, 46);
/* oklch */ color: oklch(39.2% 0.139 14.0);
Tailwind
colors: {
  custom: {
    50: '#ab5f66',
    500: '#7f152e',
    950: '#000000',
  },
}
SCSS
$custom: #7f152e;
$custom-light: #ab5f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f152e",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 345.849,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.1393,
    "h": 14
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#7F152E
secondary
#3CB498
accent
#EEC439
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F152E

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

Preview Lab → · Contrast checker → · Palette generator →

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