#27020F#27020F

#27020F is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.1% C 0.066 H 2.8°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#27020F
RGBrgb(39, 2, 15)
HSLhsl(339, 90%, 8%)
HSVhsv(339, 95%, 15%)
CMYKcmyk(0%, 94.9%, 61.5%, 84.7%)
CIE-LABlab(4.60, 18.70, 0.78)
CIE-LCHlch(4.60, 18.72, 2.38°)
OKLaboklab(18.07% 0.0659 0.0032)
OKLCHoklch(18.07% 0.066 2.8)
XYZxyz(0.9447, 0.5094, 0.5004)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27020F #02271A
analogous
#270221 #27020F #270702
triadic
#27020F #0F2702 #020F27
tetradic
#27020F #212702 #02271A #070227
square
#27020F #212702 #02271A #070227
split-complementary
#27020F #022707 #022127
monochromatic
#1D010B #1D010B #27020F #610525 #9B083C

Accessibility & contrast

On white

19.06
#27020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#27020F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27020F
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27020F#FFFFFF#000000##FFFFFF
##27020F1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090B0F
Deuteranopia (green-blind)
#14130E
Tritanopia (blue-blind)
#2B0006
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #27020f;
/* rgb */ color: rgb(39, 2, 15);
/* oklch */ color: oklch(18.1% 0.066 2.8);
Tailwind
colors: {
  custom: {
    50: '#63474e',
    500: '#27020f',
    950: '#000000',
  },
}
SCSS
$custom: #27020f;
$custom-light: #63474e;
$custom-dark: #000000;
JSON
{
  "hex": "#27020f",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 338.919,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18069,
    "c": 0.06599,
    "h": 2.8
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#27020F
secondary
#186C4F
accent
#FFB429
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #27020F

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

Preview Lab → · Contrast checker → · Palette generator →

#27020F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva