#7F2134#7F2134

#7F2134 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 13.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F2134
RGBrgb(127, 33, 52)
HSLhsl(348, 59%, 31%)
HSVhsv(348, 74%, 50%)
CMYKcmyk(0%, 74%, 59.1%, 50.2%)
CIE-LABlab(29.03, 41.30, 11.96)
CIE-LCHlch(29.03, 43.00, 16.15°)
OKLaboklab(40.44% 0.1245 0.0298)
OKLCHoklch(40.44% 0.128 13.5)
XYZxyz(9.9170, 5.8491, 3.8549)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2134 #217F6C
analogous
#7F2163 #7F2134 #7F3D21
triadic
#7F2134 #347F21 #21347F
tetradic
#7F2134 #637F21 #217F6C #3D217F
square
#7F2134 #637F21 #217F6C #3D217F
split-complementary
#7F2134 #217F3D #21637F
monochromatic
#1E080C #4E1420 #7F2134 #B02E48 #D04A65

Accessibility & contrast

On white

9.68
#7F2134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2134
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2134#FFFFFF#000000##FFFFFF
##7F21341.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2134;
/* rgb */ color: rgb(127, 33, 52);
/* oklch */ color: oklch(40.4% 0.128 13.5);
Tailwind
colors: {
  custom: {
    50: '#aa646b',
    500: '#7f2134',
    950: '#000000',
  },
}
SCSS
$custom: #7f2134;
$custom-light: #aa646b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2134",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 347.872,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.12796,
    "h": 13.5
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#7F2134
secondary
#4AB29D
accent
#E2C246
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2134

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

Preview Lab → · Contrast checker → · Palette generator →

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