#751227#751227

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

Color values

HEX#751227
RGBrgb(117, 18, 39)
HSLhsl(347, 73%, 26%)
HSVhsv(347, 85%, 46%)
CMYKcmyk(0%, 84.6%, 66.7%, 54.1%)
CIE-LABlab(24.83, 42.37, 14.77)
CIE-LCHlch(24.83, 44.87, 19.21°)
OKLaboklab(36.87% 0.1267 0.0356)
OKLCHoklch(36.87% 0.132 15.7)
XYZxyz(7.9195, 4.3622, 2.3441)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751227 #127560
analogous
#751259 #751227 #752F12
triadic
#751227 #277512 #122775
tetradic
#751227 #597512 #127560 #2F1275
square
#751227 #597512 #127560 #2F1275
split-complementary
#751227 #12752F #125975
monochromatic
#1B0409 #400A15 #751227 #AA1A39 #DD244B

Accessibility & contrast

On white

11.22
#751227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751227
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751227#FFFFFF#000000##FFFFFF
##7512271.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E27
Deuteranopia (green-blind)
#494224
Tritanopia (blue-blind)
#81001B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #751227;
/* rgb */ color: rgb(117, 18, 39);
/* oklch */ color: oklch(36.9% 0.132 15.7);
Tailwind
colors: {
  custom: {
    50: '#a35c60',
    500: '#751227',
    950: '#000000',
  },
}
SCSS
$custom: #751227;
$custom-light: #a35c60;
$custom-dark: #000000;
JSON
{
  "hex": "#751227",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 347.273,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.13162,
    "h": 15.7
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#751227
secondary
#37AC93
accent
#F0C938
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100405
muted
#7F7979

Preview Lab

Preview with #751227

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

Preview Lab → · Contrast checker → · Palette generator →

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