#270303#270303

#270303 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.9% C 0.063 H 26.3°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#270303
RGBrgb(39, 3, 3)
HSLhsl(0, 86%, 8%)
HSVhsv(0, 92%, 15%)
CMYKcmyk(0%, 92.3%, 92.3%, 84.7%)
CIE-LABlab(4.55, 16.66, 5.88)
CIE-LCHlch(4.55, 17.67, 19.45°)
OKLaboklab(17.89% 0.0563 0.0279)
OKLCHoklch(17.89% 0.063 26.3)
XYZxyz(0.8858, 0.5032, 0.1366)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270303 #032727
analogous
#270315 #270303 #271503
triadic
#270303 #032703 #030327
tetradic
#270303 #152703 #032727 #150327
square
#270303 #152703 #032727 #150327
split-complementary
#270303 #032715 #031527
monochromatic
#1C0202 #1C0202 #270303 #600707 #990C0C

Accessibility & contrast

On white

19.08
#270303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#270303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270303
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270303#FFFFFF#000000##FFFFFF
##2703031.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A03
Deuteranopia (green-blind)
#161302
Tritanopia (blue-blind)
#2C0003
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270303;
/* rgb */ color: rgb(39, 3, 3);
/* oklch */ color: oklch(17.9% 0.063 26.3);
Tailwind
colors: {
  custom: {
    50: '#624748',
    500: '#270303',
    950: '#000000',
  },
}
SCSS
$custom: #270303;
$custom-light: #624748;
$custom-dark: #000000;
JSON
{
  "hex": "#270303",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 3
  },
  "hsl": {
    "h": 0,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17891,
    "c": 0.06279,
    "h": 26.3
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#270303
secondary
#1B6B6B
accent
#FCFC2C
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270303

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

Preview Lab → · Contrast checker → · Palette generator →

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