#7F2330#7F2330

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

Color values

HEX#7F2330
RGBrgb(127, 35, 48)
HSLhsl(352, 57%, 32%)
HSVhsv(352, 72%, 50%)
CMYKcmyk(0%, 72.4%, 62.2%, 50.2%)
CIE-LABlab(29.23, 40.19, 14.89)
CIE-LCHlch(29.23, 42.86, 20.32°)
OKLaboklab(40.56% 0.1202 0.0364)
OKLCHoklch(40.56% 0.126 16.8)
XYZxyz(9.8879, 5.9289, 3.4195)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2330 #237F72
analogous
#7F235E #7F2330 #7F4423
triadic
#7F2330 #307F23 #23307F
tetradic
#7F2330 #5E7F23 #237F72 #44237F
square
#7F2330 #5E7F23 #237F72 #44237F
split-complementary
#7F2330 #237F44 #235E7F
monochromatic
#1F090C #4F161E #7F2330 #AF3042 #CE4E60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2330#FFFFFF#000000##FFFFFF
##7F23301.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3930
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#8B0B28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2330;
/* rgb */ color: rgb(127, 35, 48);
/* oklch */ color: oklch(40.6% 0.126 16.8);
Tailwind
colors: {
  custom: {
    50: '#aa6568',
    500: '#7f2330',
    950: '#000000',
  },
}
SCSS
$custom: #7f2330;
$custom-light: #aa6568;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2330",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 48
  },
  "hsl": {
    "h": 351.522,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.12556,
    "h": 16.8
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#7F2330
secondary
#4CB1A3
accent
#E0CB48
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2330

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

Preview Lab → · Contrast checker → · Palette generator →

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