#7F2135#7F2135

#7F2135 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 12.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7F2135
RGBrgb(127, 33, 53)
HSLhsl(347, 59%, 31%)
HSVhsv(347, 74%, 50%)
CMYKcmyk(0%, 74%, 58.3%, 50.2%)
CIE-LABlab(29.05, 41.38, 11.33)
CIE-LCHlch(29.05, 42.90, 15.31°)
OKLaboklab(40.46% 0.1249 0.0283)
OKLCHoklch(40.46% 0.128 12.8)
XYZxyz(9.9398, 5.8582, 3.9748)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2135 #217F6B
analogous
#7F2164 #7F2135 #7F3C21
triadic
#7F2135 #357F21 #21357F
tetradic
#7F2135 #647F21 #217F6B #3C217F
square
#7F2135 #647F21 #217F6B #3C217F
split-complementary
#7F2135 #217F3C #21647F
monochromatic
#1E080C #4E1421 #7F2135 #B02E49 #D04A67

Accessibility & contrast

On white

9.67
#7F2135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F2135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2135
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2135#FFFFFF#000000##FFFFFF
##7F21351.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#514C33
Tritanopia (blue-blind)
#8B0929
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2135;
/* rgb */ color: rgb(127, 33, 53);
/* oklch */ color: oklch(40.5% 0.128 12.8);
Tailwind
colors: {
  custom: {
    50: '#aa646c',
    500: '#7f2135',
    950: '#000000',
  },
}
SCSS
$custom: #7f2135;
$custom-light: #aa646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2135",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 53
  },
  "hsl": {
    "h": 347.234,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.12805,
    "h": 12.8
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#7F2135
secondary
#4AB29C
accent
#E2C146
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2135

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

Preview Lab → · Contrast checker → · Palette generator →

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