#2F0215#2F0215

#2F0215 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 359.9°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#2F0215
RGBrgb(47, 2, 21)
HSLhsl(335, 92%, 10%)
HSVhsv(335, 96%, 18%)
CMYKcmyk(0%, 95.7%, 55.3%, 81.6%)
CIE-LABlab(6.34, 24.17, -0.15)
CIE-LCHlch(6.34, 24.17, 359.65°)
OKLaboklab(20.15% 0.0761 -0.0002)
OKLCHoklch(20.15% 0.076 359.9)
XYZxyz(1.3295, 0.7021, 0.7748)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0215 #022F1C
analogous
#2F022C #2F0215 #2F0602
triadic
#2F0215 #152F02 #02152F
tetradic
#2F0215 #2C2F02 #022F1C #06022F
square
#2F0215 #2C2F02 #022F1C #06022F
split-complementary
#2F0215 #022F06 #022C2F
monochromatic
#1D010D #1D010D #2F0215 #6A042F #A40749

Accessibility & contrast

On white

18.41
#2F0215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0215
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0215#FFFFFF#000000##FFFFFF
##2F02151.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0E15
Deuteranopia (green-blind)
#181714
Tritanopia (blue-blind)
#340009
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0215;
/* rgb */ color: rgb(47, 2, 21);
/* oklch */ color: oklch(20.2% 0.076 359.9);
Tailwind
colors: {
  custom: {
    50: '#6b4752',
    500: '#2f0215',
    950: '#000000',
  },
}
SCSS
$custom: #2f0215;
$custom-light: #6b4752;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0215",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 21
  },
  "hsl": {
    "h": 334.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2015,
    "c": 0.07614,
    "h": 359.9
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#2F0215
secondary
#19744D
accent
#FFA529
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0215

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

Preview Lab → · Contrast checker → · Palette generator →

#2F0215 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva