#7F2236#7F2236

#7F2236 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.127 H 12.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7F2236
RGBrgb(127, 34, 54)
HSLhsl(347, 58%, 32%)
HSVhsv(347, 73%, 50%)
CMYKcmyk(0%, 73.2%, 57.5%, 50.2%)
CIE-LABlab(29.22, 41.06, 10.89)
CIE-LCHlch(29.22, 42.48, 14.86°)
OKLaboklab(40.59% 0.124 0.0273)
OKLCHoklch(40.59% 0.127 12.4)
XYZxyz(9.9912, 5.9238, 4.1066)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2236 #227F6B
analogous
#7F2265 #7F2236 #7F3D22
triadic
#7F2236 #367F22 #22367F
tetradic
#7F2236 #657F22 #227F6B #3D227F
square
#7F2236 #657F22 #227F6B #3D227F
split-complementary
#7F2236 #227F3D #22657F
monochromatic
#1E080D #4F1521 #7F2236 #AF2F4B #CF4C68

Accessibility & contrast

On white

9.61
#7F2236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F2236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2236
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2236#FFFFFF#000000##FFFFFF
##7F22361.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393936
Deuteranopia (green-blind)
#514C34
Tritanopia (blue-blind)
#8B0C2A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2236;
/* rgb */ color: rgb(127, 34, 54);
/* oklch */ color: oklch(40.6% 0.127 12.4);
Tailwind
colors: {
  custom: {
    50: '#aa656c',
    500: '#7f2236',
    950: '#000000',
  },
}
SCSS
$custom: #7f2236;
$custom-light: #aa656c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2236",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 347.097,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.12699,
    "h": 12.4
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#7F2236
secondary
#4BB29C
accent
#E1C047
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F2236

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

Preview Lab → · Contrast checker → · Palette generator →

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