#270213#270213

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

Color values

HEX#270213
RGBrgb(39, 2, 19)
HSLhsl(332, 90%, 8%)
HSVhsv(332, 95%, 15%)
CMYKcmyk(0%, 94.9%, 51.3%, 84.7%)
CIE-LABlab(4.71, 19.39, -1.39)
CIE-LCHlch(4.71, 19.44, 355.91°)
OKLaboklab(18.24% 0.0676 -0.0046)
OKLCHoklch(18.24% 0.068 356.1)
XYZxyz(0.9760, 0.5219, 0.6653)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270213 #022716
analogous
#270225 #270213 #270302
triadic
#270213 #132702 #021327
tetradic
#270213 #252702 #022716 #030227
square
#270213 #252702 #022716 #030227
split-complementary
#270213 #022703 #022527
monochromatic
#1D010E #1D010E #270213 #61052F #9B084C

Accessibility & contrast

On white

19.01
#270213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#270213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270213
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270213#FFFFFF#000000##FFFFFF
##2702131.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080B13
Deuteranopia (green-blind)
#131312
Tritanopia (blue-blind)
#2B0008
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270213;
/* rgb */ color: rgb(39, 2, 19);
/* oklch */ color: oklch(18.2% 0.068 356.1);
Tailwind
colors: {
  custom: {
    50: '#634750',
    500: '#270213',
    950: '#000000',
  },
}
SCSS
$custom: #270213;
$custom-light: #634750;
$custom-dark: #000000;
JSON
{
  "hex": "#270213",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 332.432,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18241,
    "c": 0.06775,
    "h": 356.1
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#270213
secondary
#186C46
accent
#FF9D29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #270213

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

Preview Lab → · Contrast checker → · Palette generator →

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