#7F253B#7F253B

#7F253B is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.124 H 9.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F253B
RGBrgb(127, 37, 59)
HSLhsl(345, 55%, 32%)
HSVhsv(345, 71%, 50%)
CMYKcmyk(0%, 70.9%, 53.5%, 50.2%)
CIE-LABlab(29.79, 40.25, 8.37)
CIE-LCHlch(29.79, 41.11, 11.74°)
OKLaboklab(41.06% 0.1221 0.0214)
OKLCHoklch(41.06% 0.124 9.9)
XYZxyz(10.2043, 6.1523, 4.7870)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F253B #257F69
analogous
#7F2568 #7F253B #7F3C25
triadic
#7F253B #3B7F25 #253B7F
tetradic
#7F253B #687F25 #257F69 #3C257F
square
#7F253B #687F25 #257F69 #3C257F
split-complementary
#7F253B #257F3C #25687F
monochromatic
#20090F #501725 #7F253B #AE3351 #CD5270

Accessibility & contrast

On white

9.42
#7F253B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F253B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F253B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F253B#FFFFFF#000000##FFFFFF
##7F253B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B3B
Deuteranopia (green-blind)
#524D39
Tritanopia (blue-blind)
#8B142E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f253b;
/* rgb */ color: rgb(127, 37, 59);
/* oklch */ color: oklch(41.1% 0.124 9.9);
Tailwind
colors: {
  custom: {
    50: '#a96670',
    500: '#7f253b',
    950: '#000000',
  },
}
SCSS
$custom: #7f253b;
$custom-light: #a96670;
$custom-dark: #000000;
JSON
{
  "hex": "#7f253b",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 59
  },
  "hsl": {
    "h": 345.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.124,
    "h": 9.9
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#7F253B
secondary
#4FB199
accent
#DEBA4A
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F253B

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

Preview Lab → · Contrast checker → · Palette generator →

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