#270312#270312

#270312 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.4% C 0.065 H 358.6°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#270312
RGBrgb(39, 3, 18)
HSLhsl(335, 86%, 8%)
HSVhsv(335, 92%, 15%)
CMYKcmyk(0%, 92.3%, 53.8%, 84.7%)
CIE-LABlab(4.88, 18.77, -0.52)
CIE-LCHlch(4.88, 18.78, 358.40°)
OKLaboklab(18.4% 0.0647 -0.0016)
OKLCHoklch(18.4% 0.065 358.6)
XYZxyz(0.9785, 0.5403, 0.6249)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270312 #032718
analogous
#270324 #270312 #270603
triadic
#270312 #122703 #031227
tetradic
#270312 #242703 #032718 #060327
square
#270312 #242703 #032718 #060327
split-complementary
#270312 #032706 #032427
monochromatic
#1C020D #1C020D #270312 #60072C #990C46

Accessibility & contrast

On white

18.95
#270312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#270312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270312
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270312#FFFFFF#000000##FFFFFF
##2703121.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090C12
Deuteranopia (green-blind)
#141311
Tritanopia (blue-blind)
#2B0008
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270312;
/* rgb */ color: rgb(39, 3, 18);
/* oklch */ color: oklch(18.4% 0.065 358.6);
Tailwind
colors: {
  custom: {
    50: '#634750',
    500: '#270312',
    950: '#000000',
  },
}
SCSS
$custom: #270312;
$custom-light: #634750;
$custom-dark: #000000;
JSON
{
  "hex": "#270312",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 335,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18397,
    "c": 0.06469,
    "h": 358.6
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#270312
secondary
#1B6B4A
accent
#FCA52C
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #270312

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

Preview Lab → · Contrast checker → · Palette generator →

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