#2F0315#2F0315

#2F0315 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.074 H 0.5°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#2F0315
RGBrgb(47, 3, 21)
HSLhsl(335, 88%, 10%)
HSVhsv(335, 94%, 18%)
CMYKcmyk(0%, 93.6%, 55.3%, 81.6%)
CIE-LABlab(6.54, 23.65, 0.14)
CIE-LCHlch(6.54, 23.65, 0.34°)
OKLaboklab(20.32% 0.074 0.0007)
OKLCHoklch(20.32% 0.074 0.5)
XYZxyz(1.3403, 0.7238, 0.7784)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0315 #032F1D
analogous
#2F032B #2F0315 #2F0703
triadic
#2F0315 #152F03 #03152F
tetradic
#2F0315 #2B2F03 #032F1D #07032F
square
#2F0315 #2B2F03 #032F1D #07032F
split-complementary
#2F0315 #032F07 #032B2F
monochromatic
#1D020D #1D020D #2F0315 #69072F #A20A48

Accessibility & contrast

On white

18.34
#2F0315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0315
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0315#FFFFFF#000000##FFFFFF
##2F03151.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F15
Deuteranopia (green-blind)
#191814
Tritanopia (blue-blind)
#34000A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0315;
/* rgb */ color: rgb(47, 3, 21);
/* oklch */ color: oklch(20.3% 0.074 0.5);
Tailwind
colors: {
  custom: {
    50: '#6b4852',
    500: '#2f0315',
    950: '#000000',
  },
}
SCSS
$custom: #2f0315;
$custom-light: #6b4852;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0315",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 21
  },
  "hsl": {
    "h": 335.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20316,
    "c": 0.07404,
    "h": 0.5
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#2F0315
secondary
#1B734F
accent
#FEA72A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0315

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

Preview Lab → · Contrast checker → · Palette generator →

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