#7F152D#7F152D

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

Color values

HEX#7F152D
RGBrgb(127, 21, 45)
HSLhsl(346, 72%, 29%)
HSVhsv(346, 83%, 50%)
CMYKcmyk(0%, 83.5%, 64.6%, 50.2%)
CIE-LABlab(27.41, 44.91, 14.48)
CIE-LCHlch(27.41, 47.18, 17.87°)
OKLaboklab(39.18% 0.1347 0.0352)
OKLCHoklch(39.18% 0.139 14.6)
XYZxyz(9.4952, 5.2393, 2.9934)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F152D #157F67
analogous
#7F1562 #7F152D #7F3215
triadic
#7F152D #2D7F15 #152D7F
tetradic
#7F152D #627F15 #157F67 #32157F
square
#7F152D #627F15 #157F67 #32157F
split-complementary
#7F152D #157F32 #15627F
monochromatic
#1A0409 #4A0C1A #7F152D #B41E40 #DD3158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F152D#FFFFFF#000000##FFFFFF
##7F152D1.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)
#34332D
Deuteranopia (green-blind)
#4F492A
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f152d;
/* rgb */ color: rgb(127, 21, 45);
/* oklch */ color: oklch(39.2% 0.139 14.6);
Tailwind
colors: {
  custom: {
    50: '#ab5f65',
    500: '#7f152d',
    950: '#000000',
  },
}
SCSS
$custom: #7f152d;
$custom-light: #ab5f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f152d",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 346.415,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.13924,
    "h": 14.6
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#7F152D
secondary
#3CB499
accent
#EEC539
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F152D

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

Preview Lab → · Contrast checker → · Palette generator →

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