#7F2335#7F2335

#7F2335 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.126 H 13.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7F2335
RGBrgb(127, 35, 53)
HSLhsl(348, 57%, 32%)
HSVhsv(348, 72%, 50%)
CMYKcmyk(0%, 72.4%, 58.3%, 50.2%)
CIE-LABlab(29.34, 40.58, 11.73)
CIE-LCHlch(29.34, 42.24, 16.12°)
OKLaboklab(40.68% 0.1223 0.0293)
OKLCHoklch(40.68% 0.126 13.5)
XYZxyz(9.9970, 5.9725, 3.9939)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2335 #237F6D
analogous
#7F2363 #7F2335 #7F3F23
triadic
#7F2335 #357F23 #23357F
tetradic
#7F2335 #637F23 #237F6D #3F237F
square
#7F2335 #637F23 #237F6D #3F237F
split-complementary
#7F2335 #237F3F #23637F
monochromatic
#1F090D #4F1621 #7F2335 #AF3049 #CE4E67

Accessibility & contrast

On white

9.57
#7F2335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F2335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2335
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2335#FFFFFF#000000##FFFFFF
##7F23351.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3935
Deuteranopia (green-blind)
#524C33
Tritanopia (blue-blind)
#8B0E2A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2335;
/* rgb */ color: rgb(127, 35, 53);
/* oklch */ color: oklch(40.7% 0.126 13.5);
Tailwind
colors: {
  custom: {
    50: '#aa656c',
    500: '#7f2335',
    950: '#000000',
  },
}
SCSS
$custom: #7f2335;
$custom-light: #aa656c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2335",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 53
  },
  "hsl": {
    "h": 348.261,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.12575,
    "h": 13.5
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#7F2335
secondary
#4CB19E
accent
#E0C248
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2335

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

Preview Lab → · Contrast checker → · Palette generator →

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