#270220#270220

#270220 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.0% C 0.077 H 336.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#270220
RGBrgb(39, 2, 32)
HSLhsl(311, 90%, 8%)
HSVhsv(311, 95%, 15%)
CMYKcmyk(0%, 94.9%, 17.9%, 84.7%)
CIE-LABlab(5.23, 22.24, -10.46)
CIE-LCHlch(5.23, 24.57, 334.80°)
OKLaboklab(18.99% 0.0706 -0.0304)
OKLCHoklch(18.99% 0.077 336.7)
XYZxyz(1.1191, 0.5791, 1.4191)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270220 #022709
analogous
#1B0227 #270220 #27020D
triadic
#270220 #202702 #022027
tetradic
#270220 #271B02 #022709 #020D27
square
#270220 #271B02 #022709 #020D27
split-complementary
#270220 #0D2702 #02271B
monochromatic
#1D0118 #1D0118 #270220 #610550 #9B0880

Accessibility & contrast

On white

18.82
#270220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#270220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270220
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270220#FFFFFF#000000##FFFFFF
##2702201.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030E21
Deuteranopia (green-blind)
#0F141F
Tritanopia (blue-blind)
#2A040F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270220;
/* rgb */ color: rgb(39, 2, 32);
/* oklch */ color: oklch(19.0% 0.077 336.7);
Tailwind
colors: {
  custom: {
    50: '#62475b',
    500: '#270220',
    950: '#000000',
  },
}
SCSS
$custom: #270220;
$custom-light: #62475b;
$custom-dark: #000000;
JSON
{
  "hex": "#270220",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 311.351,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18985,
    "c": 0.07691,
    "h": 336.7
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#270220
secondary
#186C28
accent
#FF5129
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #270220

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

Preview Lab → · Contrast checker → · Palette generator →

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