#7F233A#7F233A

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

Color values

HEX#7F233A
RGBrgb(127, 35, 58)
HSLhsl(345, 57%, 32%)
HSVhsv(345, 72%, 50%)
CMYKcmyk(0%, 72.4%, 54.3%, 50.2%)
CIE-LABlab(29.47, 41.00, 8.57)
CIE-LCHlch(29.47, 41.88, 11.81°)
OKLaboklab(40.81% 0.1244 0.0219)
OKLCHoklch(40.81% 0.126 10)
XYZxyz(10.1180, 6.0209, 4.6315)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F233A #237F68
analogous
#7F2368 #7F233A #7F3A23
triadic
#7F233A #3A7F23 #233A7F
tetradic
#7F233A #687F23 #237F68 #3A237F
square
#7F233A #687F23 #237F68 #3A237F
split-complementary
#7F233A #237F3A #23687F
monochromatic
#1F090E #4F1624 #7F233A #AF3050 #CE4E6E

Accessibility & contrast

On white

9.53
#7F233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F233A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F233A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F233A#FFFFFF#000000##FFFFFF
##7F233A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3A
Deuteranopia (green-blind)
#514C38
Tritanopia (blue-blind)
#8B102C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f233a;
/* rgb */ color: rgb(127, 35, 58);
/* oklch */ color: oklch(40.8% 0.126 10.0);
Tailwind
colors: {
  custom: {
    50: '#a9656f',
    500: '#7f233a',
    950: '#000000',
  },
}
SCSS
$custom: #7f233a;
$custom-light: #a9656f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f233a",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 345,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.1263,
    "h": 10
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#7F233A
secondary
#4CB198
accent
#E0BA48
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F233A

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

Preview Lab → · Contrast checker → · Palette generator →

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