#7D2230#7D2230

#7D2230 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.124 H 16.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7D2230
RGBrgb(125, 34, 48)
HSLhsl(351, 57%, 31%)
HSVhsv(351, 73%, 49%)
CMYKcmyk(0%, 72.8%, 61.6%, 51%)
CIE-LABlab(28.69, 39.92, 14.10)
CIE-LCHlch(28.69, 42.34, 19.45°)
OKLaboklab(40.09% 0.1196 0.0346)
OKLCHoklch(40.09% 0.124 16.1)
XYZxyz(9.5639, 5.7188, 3.3960)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2230 #227D6F
analogous
#7D225D #7D2230 #7D4122
triadic
#7D2230 #307D22 #22307D
tetradic
#7D2230 #5D7D22 #227D6F #41227D
square
#7D2230 #5D7D22 #227D6F #41227D
split-complementary
#7D2230 #227D41 #225D7D
monochromatic
#1D080B #4D151E #7D2230 #AD2F42 #CE4B5F

Accessibility & contrast

On white

9.80
#7D2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D2230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2230
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2230#FFFFFF#000000##FFFFFF
##7D22301.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3830
Deuteranopia (green-blind)
#514B2E
Tritanopia (blue-blind)
#890A28
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2230;
/* rgb */ color: rgb(125, 34, 48);
/* oklch */ color: oklch(40.1% 0.124 16.1);
Tailwind
colors: {
  custom: {
    50: '#a86468',
    500: '#7d2230',
    950: '#000000',
  },
}
SCSS
$custom: #7d2230;
$custom-light: #a86468;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2230",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 350.769,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.12449,
    "h": 16.1
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#7D2230
secondary
#4BB0A0
accent
#E0C947
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D2230

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

Preview Lab → · Contrast checker → · Palette generator →

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