#7D2238#7D2238

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

Color values

HEX#7D2238
RGBrgb(125, 34, 56)
HSLhsl(345, 57%, 31%)
HSVhsv(345, 73%, 49%)
CMYKcmyk(0%, 72.8%, 55.2%, 51%)
CIE-LABlab(28.88, 40.57, 9.03)
CIE-LCHlch(28.88, 41.56, 12.55°)
OKLaboklab(40.28% 0.123 0.0229)
OKLCHoklch(40.28% 0.125 10.6)
XYZxyz(9.7442, 5.7909, 4.3453)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2238 #227D67
analogous
#7D2265 #7D2238 #7D3922
triadic
#7D2238 #387D22 #22387D
tetradic
#7D2238 #657D22 #227D67 #39227D
square
#7D2238 #657D22 #227D67 #39227D
split-complementary
#7D2238 #227D39 #22657D
monochromatic
#1D080D #4D1522 #7D2238 #AD2F4E #CE4B6B

Accessibility & contrast

On white

9.73
#7D2238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D2238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2238
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2238#FFFFFF#000000##FFFFFF
##7D22381.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#504B36
Tritanopia (blue-blind)
#890F2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2238;
/* rgb */ color: rgb(125, 34, 56);
/* oklch */ color: oklch(40.3% 0.125 10.6);
Tailwind
colors: {
  custom: {
    50: '#a8646e',
    500: '#7d2238',
    950: '#000000',
  },
}
SCSS
$custom: #7d2238;
$custom-light: #a8646e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2238",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 345.495,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.12509,
    "h": 10.6
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7D2238
secondary
#4BB097
accent
#E0BB47
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D2238

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

Preview Lab → · Contrast checker → · Palette generator →

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