#27031F#27031F

#27031F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.074 H 338.2°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#27031F
RGBrgb(39, 3, 31)
HSLhsl(313, 86%, 8%)
HSVhsv(313, 92%, 15%)
CMYKcmyk(0%, 92.3%, 20.5%, 84.7%)
CIE-LABlab(5.38, 21.51, -9.45)
CIE-LCHlch(5.38, 23.50, 336.27°)
OKLaboklab(19.1% 0.0683 -0.0273)
OKLCHoklch(19.1% 0.074 338.2)
XYZxyz(1.1166, 0.5955, 1.3522)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27031F #03270B
analogous
#1D0327 #27031F #27030D
triadic
#27031F #1F2703 #031F27
tetradic
#27031F #271D03 #03270B #030D27
square
#27031F #271D03 #03270B #030D27
split-complementary
#27031F #0D2703 #03271D
monochromatic
#1C0217 #1C0217 #27031F #60074C #990C79

Accessibility & contrast

On white

18.77
#27031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#27031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27031F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27031F#FFFFFF#000000##FFFFFF
##27031F1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E20
Deuteranopia (green-blind)
#10141E
Tritanopia (blue-blind)
#2A040F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #27031f;
/* rgb */ color: rgb(39, 3, 31);
/* oklch */ color: oklch(19.1% 0.074 338.2);
Tailwind
colors: {
  custom: {
    50: '#62475a',
    500: '#27031f',
    950: '#000000',
  },
}
SCSS
$custom: #27031f;
$custom-light: #62475a;
$custom-dark: #000000;
JSON
{
  "hex": "#27031f",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 313.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19104,
    "c": 0.07357,
    "h": 338.2
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#27031F
secondary
#1B6B2D
accent
#FC5A2C
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050003
muted
#797778

Preview Lab

Preview with #27031F

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

Preview Lab → · Contrast checker → · Palette generator →

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