#270A22#270A22

#270A22 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.5% C 0.061 H 334.8°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#270A22
RGBrgb(39, 10, 34)
HSLhsl(310, 59%, 10%)
HSVhsv(310, 74%, 15%)
CMYKcmyk(0%, 74.4%, 12.8%, 84.7%)
CIE-LABlab(6.90, 18.80, -9.46)
CIE-LCHlch(6.90, 21.05, 333.30°)
OKLaboklab(20.49% 0.0552 -0.026)
OKLCHoklch(20.49% 0.061 334.8)
XYZxyz(1.2340, 0.7640, 1.5955)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A22 #0A270F
analogous
#1E0A27 #270A22 #270A14
triadic
#270A22 #22270A #0A2227
tetradic
#270A22 #271E0A #0A270F #0A1427
square
#270A22 #271E0A #0A270F #0A1427
split-complementary
#270A22 #14270A #0A271E
monochromatic
#180615 #180615 #270A22 #58164C #882377

Accessibility & contrast

On white

18.22
#270A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#270A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A22
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A22#FFFFFF#000000##FFFFFF
##270A221.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1323
Deuteranopia (green-blind)
#131721
Tritanopia (blue-blind)
#290C14
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270a22;
/* rgb */ color: rgb(39, 10, 34);
/* oklch */ color: oklch(20.5% 0.061 334.8);
Tailwind
colors: {
  custom: {
    50: '#624b5d',
    500: '#270a22',
    950: '#000000',
  },
}
SCSS
$custom: #270a22;
$custom-light: #624b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#270a22",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 34
  },
  "hsl": {
    "h": 310.345,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20486,
    "c": 0.06101,
    "h": 334.8
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#270A22
secondary
#296433
accent
#E26045
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #270A22

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

Preview Lab → · Contrast checker → · Palette generator →

#270A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva