#712228#712228

#712228 is a dark, moderate red. Relative luminance 0.048; OKLCH L 37.7% C 0.111 H 20.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#712228
RGBrgb(113, 34, 40)
HSLhsl(355, 54%, 29%)
HSVhsv(355, 70%, 44%)
CMYKcmyk(0%, 69.9%, 64.6%, 55.7%)
CIE-LABlab(26.18, 35.14, 15.69)
CIE-LCHlch(26.18, 38.48, 24.06°)
OKLaboklab(37.73% 0.1043 0.0379)
OKLCHoklch(37.73% 0.111 20)
XYZxyz(7.7658, 4.8090, 2.5264)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712228 #22716B
analogous
#712250 #712228 #714422
triadic
#712228 #287122 #222871
tetradic
#712228 #507122 #22716B #442271
square
#712228 #507122 #22716B #442271
split-complementary
#712228 #227144 #225071
monochromatic
#180708 #421417 #712228 #A03039 #C74650

Accessibility & contrast

On white

10.71
#712228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#712228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712228
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712228#FFFFFF#000000##FFFFFF
##7122281.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373328
Deuteranopia (green-blind)
#4B4426
Tritanopia (blue-blind)
#7C1025
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #712228;
/* rgb */ color: rgb(113, 34, 40);
/* oklch */ color: oklch(37.7% 0.111 20.0);
Tailwind
colors: {
  custom: {
    50: '#9f6261',
    500: '#712228',
    950: '#000000',
  },
}
SCSS
$custom: #712228;
$custom-light: #9f6261;
$custom-dark: #000000;
JSON
{
  "hex": "#712228",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 355.443,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37726,
    "c": 0.11101,
    "h": 20
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#712228
secondary
#4AA49D
accent
#DDD24B
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #712228

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

Preview Lab → · Contrast checker → · Palette generator →

#712228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva