#2A0207#2A0207

#2A0207 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.5% C 0.068 H 17.8°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#2A0207
RGBrgb(42, 2, 7)
HSLhsl(353, 91%, 9%)
HSVhsv(353, 95%, 16%)
CMYKcmyk(0%, 95.2%, 83.3%, 83.5%)
CIE-LABlab(4.98, 19.68, 4.95)
CIE-LCHlch(4.98, 20.29, 14.13°)
OKLaboklab(18.52% 0.0647 0.0207)
OKLCHoklch(18.52% 0.068 17.8)
XYZxyz(1.0150, 0.5512, 0.2539)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0207 #022A25
analogous
#2A021B #2A0207 #2A1102
triadic
#2A0207 #072A02 #02072A
tetradic
#2A0207 #1B2A02 #022A25 #11022A
square
#2A0207 #1B2A02 #022A25 #11022A
split-complementary
#2A0207 #022A11 #021B2A
monochromatic
#1D0105 #1D0105 #2A0207 #640511 #9F081A

Accessibility & contrast

On white

18.92
#2A0207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A0207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0207
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0207#FFFFFF#000000##FFFFFF
##2A02071.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0B07
Deuteranopia (green-blind)
#171406
Tritanopia (blue-blind)
#2F0004
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0207;
/* rgb */ color: rgb(42, 2, 7);
/* oklch */ color: oklch(18.5% 0.068 17.8);
Tailwind
colors: {
  custom: {
    50: '#66474a',
    500: '#2a0207',
    950: '#000000',
  },
}
SCSS
$custom: #2a0207;
$custom-light: #66474a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0207",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 7
  },
  "hsl": {
    "h": 352.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18518,
    "c": 0.06793,
    "h": 17.8
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#2A0207
secondary
#196F64
accent
#FFE429
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A0207

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

Preview Lab → · Contrast checker → · Palette generator →

#2A0207 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva