#270214#270214

#270214 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.3% C 0.068 H 354.4°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#270214
RGBrgb(39, 2, 20)
HSLhsl(331, 90%, 8%)
HSVhsv(331, 95%, 15%)
CMYKcmyk(0%, 94.9%, 48.7%, 84.7%)
CIE-LABlab(4.75, 19.58, -1.99)
CIE-LCHlch(4.75, 19.68, 354.20°)
OKLaboklab(18.29% 0.068 -0.0066)
OKLCHoklch(18.29% 0.068 354.4)
XYZxyz(0.9847, 0.5254, 0.7112)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270214 #022715
analogous
#270226 #270214 #270302
triadic
#270214 #142702 #021427
tetradic
#270214 #262702 #022715 #030227
square
#270214 #262702 #022715 #030227
split-complementary
#270214 #022703 #022627
monochromatic
#1D010F #1D010F #270214 #610532 #9B0850

Accessibility & contrast

On white

19.00
#270214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270214
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270214#FFFFFF#000000##FFFFFF
##2702141.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080B15
Deuteranopia (green-blind)
#131313
Tritanopia (blue-blind)
#2B0009
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270214;
/* rgb */ color: rgb(39, 2, 20);
/* oklch */ color: oklch(18.3% 0.068 354.4);
Tailwind
colors: {
  custom: {
    50: '#634751',
    500: '#270214',
    950: '#000000',
  },
}
SCSS
$custom: #270214;
$custom-light: #634751;
$custom-dark: #000000;
JSON
{
  "hex": "#270214",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 20
  },
  "hsl": {
    "h": 330.811,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18288,
    "c": 0.06828,
    "h": 354.4
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#270214
secondary
#186C44
accent
#FF9729
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #270214

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

Preview Lab → · Contrast checker → · Palette generator →

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