#270305#270305

#270305 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.0% C 0.062 H 21.9°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#270305
RGBrgb(39, 3, 5)
HSLhsl(357, 86%, 8%)
HSVhsv(357, 92%, 15%)
CMYKcmyk(0%, 92.3%, 87.2%, 84.7%)
CIE-LABlab(4.59, 16.93, 5.13)
CIE-LCHlch(4.59, 17.68, 16.85°)
OKLaboklab(17.95% 0.0578 0.0233)
OKLCHoklch(17.95% 0.062 21.9)
XYZxyz(0.8968, 0.5076, 0.1943)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270305 #032725
analogous
#270317 #270305 #271303
triadic
#270305 #052703 #030527
tetradic
#270305 #172703 #032725 #130327
square
#270305 #172703 #032725 #130327
split-complementary
#270305 #032713 #031727
monochromatic
#1C0204 #1C0204 #270305 #60070C #990C14

Accessibility & contrast

On white

19.07
#270305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270305
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270305#FFFFFF#000000##FFFFFF
##2703051.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0B05
Deuteranopia (green-blind)
#161304
Tritanopia (blue-blind)
#2C0004
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270305;
/* rgb */ color: rgb(39, 3, 5);
/* oklch */ color: oklch(18.0% 0.062 21.9);
Tailwind
colors: {
  custom: {
    50: '#624749',
    500: '#270305',
    950: '#000000',
  },
}
SCSS
$custom: #270305;
$custom-light: #624749;
$custom-dark: #000000;
JSON
{
  "hex": "#270305",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 5
  },
  "hsl": {
    "h": 356.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17952,
    "c": 0.06235,
    "h": 21.9
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#270305
secondary
#1B6B67
accent
#FCF02C
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270305

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

Preview Lab → · Contrast checker → · Palette generator →

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