#7D2234#7D2234

#7D2234 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.125 H 13.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D2234
RGBrgb(125, 34, 52)
HSLhsl(348, 57%, 31%)
HSVhsv(348, 73%, 49%)
CMYKcmyk(0%, 72.8%, 58.4%, 51%)
CIE-LABlab(28.78, 40.23, 11.56)
CIE-LCHlch(28.78, 41.86, 16.03°)
OKLaboklab(40.18% 0.1213 0.0289)
OKLCHoklch(40.18% 0.125 13.4)
XYZxyz(9.6502, 5.7533, 3.8505)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2234 #227D6B
analogous
#7D2261 #7D2234 #7D3D22
triadic
#7D2234 #347D22 #22347D
tetradic
#7D2234 #617D22 #227D6B #3D227D
square
#7D2234 #617D22 #227D6B #3D227D
split-complementary
#7D2234 #227D3D #22617D
monochromatic
#1D080C #4D1520 #7D2234 #AD2F48 #CE4B65

Accessibility & contrast

On white

9.77
#7D2234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D2234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2234
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2234#FFFFFF#000000##FFFFFF
##7D22341.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393834
Deuteranopia (green-blind)
#514B32
Tritanopia (blue-blind)
#890D29
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2234;
/* rgb */ color: rgb(125, 34, 52);
/* oklch */ color: oklch(40.2% 0.125 13.4);
Tailwind
colors: {
  custom: {
    50: '#a8646b',
    500: '#7d2234',
    950: '#000000',
  },
}
SCSS
$custom: #7d2234;
$custom-light: #a8646b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2234",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 348.132,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.12467,
    "h": 13.4
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#7D2234
secondary
#4BB09C
accent
#E0C247
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D2234

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

Preview Lab → · Contrast checker → · Palette generator →

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