#7F2230#7F2230

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

Color values

HEX#7F2230
RGBrgb(127, 34, 48)
HSLhsl(351, 58%, 32%)
HSVhsv(351, 73%, 50%)
CMYKcmyk(0%, 73.2%, 62.2%, 50.2%)
CIE-LABlab(29.08, 40.60, 14.69)
CIE-LCHlch(29.08, 43.17, 19.89°)
OKLaboklab(40.45% 0.1215 0.0359)
OKLCHoklch(40.45% 0.127 16.5)
XYZxyz(9.8589, 5.8709, 3.4098)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2230 #227F71
analogous
#7F225F #7F2230 #7F4322
triadic
#7F2230 #307F22 #22307F
tetradic
#7F2230 #5F7F22 #227F71 #43227F
square
#7F2230 #5F7F22 #227F71 #43227F
split-complementary
#7F2230 #227F43 #225F7F
monochromatic
#1E080C #4F151E #7F2230 #AF2F42 #CF4C60

Accessibility & contrast

On white

9.66
#7F2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F2230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2230
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2230#FFFFFF#000000##FFFFFF
##7F22301.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3830
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#8B0928
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2230;
/* rgb */ color: rgb(127, 34, 48);
/* oklch */ color: oklch(40.4% 0.127 16.5);
Tailwind
colors: {
  custom: {
    50: '#aa6468',
    500: '#7f2230',
    950: '#000000',
  },
}
SCSS
$custom: #7f2230;
$custom-light: #aa6468;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2230",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 350.968,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.12668,
    "h": 16.5
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#7F2230
secondary
#4BB2A2
accent
#E1CA47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2230

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

Preview Lab → · Contrast checker → · Palette generator →

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