#751228#751228

#751228 is a dark, vivid red. Relative luminance 0.044; OKLCH L 36.9% C 0.132 H 15.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#751228
RGBrgb(117, 18, 40)
HSLhsl(347, 73%, 26%)
HSVhsv(347, 85%, 46%)
CMYKcmyk(0%, 84.6%, 65.8%, 54.1%)
CIE-LABlab(24.86, 42.44, 14.11)
CIE-LCHlch(24.86, 44.72, 18.39°)
OKLaboklab(36.89% 0.1272 0.0342)
OKLCHoklch(36.89% 0.132 15)
XYZxyz(7.9363, 4.3689, 2.4325)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751228 #12755F
analogous
#75125A #751228 #752E12
triadic
#751228 #287512 #122875
tetradic
#751228 #5A7512 #12755F #2E1275
square
#751228 #5A7512 #12755F #2E1275
split-complementary
#751228 #12752E #125A75
monochromatic
#1B0409 #400A16 #751228 #AA1A3A #DD244D

Accessibility & contrast

On white

11.21
#751228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#751228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751228
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751228#FFFFFF#000000##FFFFFF
##7512281.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E28
Deuteranopia (green-blind)
#494225
Tritanopia (blue-blind)
#81001C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #751228;
/* rgb */ color: rgb(117, 18, 40);
/* oklch */ color: oklch(36.9% 0.132 15.0);
Tailwind
colors: {
  custom: {
    50: '#a35c61',
    500: '#751228',
    950: '#000000',
  },
}
SCSS
$custom: #751228;
$custom-light: #a35c61;
$custom-dark: #000000;
JSON
{
  "hex": "#751228",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 346.667,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36888,
    "c": 0.13167,
    "h": 15
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#751228
secondary
#37AC92
accent
#F0C738
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100405
muted
#7F7979

Preview Lab

Preview with #751228

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

Preview Lab → · Contrast checker → · Palette generator →

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