#761228#761228

#761228 is a dark, vivid red. Relative luminance 0.044; OKLCH L 37.1% C 0.133 H 15.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#761228
RGBrgb(118, 18, 40)
HSLhsl(347, 74%, 27%)
HSVhsv(347, 85%, 46%)
CMYKcmyk(0%, 84.7%, 66.1%, 53.7%)
CIE-LABlab(25.07, 42.74, 14.44)
CIE-LCHlch(25.07, 45.11, 18.66°)
OKLaboklab(37.09% 0.128 0.0349)
OKLCHoklch(37.09% 0.133 15.2)
XYZxyz(8.0714, 4.4386, 2.4388)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761228 #127660
analogous
#76125A #761228 #762E12
triadic
#761228 #287612 #122876
tetradic
#761228 #5A7612 #127660 #2E1276
square
#761228 #5A7612 #127660 #2E1276
split-complementary
#761228 #12762E #125A76
monochromatic
#1B0409 #410A16 #761228 #AB1A3A #DE254D

Accessibility & contrast

On white

11.13
#761228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#761228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761228
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761228#FFFFFF#000000##FFFFFF
##7612281.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761228;
/* rgb */ color: rgb(118, 18, 40);
/* oklch */ color: oklch(37.1% 0.133 15.2);
Tailwind
colors: {
  custom: {
    50: '#a45c61',
    500: '#761228',
    950: '#000000',
  },
}
SCSS
$custom: #761228;
$custom-light: #a45c61;
$custom-dark: #000000;
JSON
{
  "hex": "#761228",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 346.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.13266,
    "h": 15.2
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#761228
secondary
#37AD93
accent
#F0C838
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #761228

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

Preview Lab → · Contrast checker → · Palette generator →

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