#2F0A23#2F0A23

#2F0A23 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.069 H 342.9°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#2F0A23
RGBrgb(47, 10, 35)
HSLhsl(319, 65%, 11%)
HSVhsv(319, 79%, 18%)
CMYKcmyk(0%, 78.7%, 25.5%, 81.6%)
CIE-LABlab(8.51, 22.09, -7.62)
CIE-LCHlch(8.51, 23.37, 340.97°)
OKLaboklab(22.04% 0.0662 -0.0204)
OKLCHoklch(22.04% 0.069 342.9)
XYZxyz(1.5843, 0.9429, 1.6883)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A23 #0A2F16
analogous
#280A2F #2F0A23 #2F0A10
triadic
#2F0A23 #232F0A #0A232F
tetradic
#2F0A23 #2F280A #0A2F16 #0A102F
square
#2F0A23 #2F280A #0A2F16 #0A102F
split-complementary
#2F0A23 #102F0A #0A2F28
monochromatic
#190513 #190513 #2F0A23 #611549 #941F6E

Accessibility & contrast

On white

17.67
#2F0A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A23
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A23#FFFFFF#000000##FFFFFF
##2F0A231.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1524
Deuteranopia (green-blind)
#181B22
Tritanopia (blue-blind)
#320A15
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0a23;
/* rgb */ color: rgb(47, 10, 35);
/* oklch */ color: oklch(22.0% 0.069 342.9);
Tailwind
colors: {
  custom: {
    50: '#694c5d',
    500: '#2f0a23',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a23;
$custom-light: #694c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a23",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 35
  },
  "hsl": {
    "h": 319.459,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22037,
    "c": 0.06926,
    "h": 342.9
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#2F0A23
secondary
#296C3F
accent
#E87640
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0A23

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

Preview Lab → · Contrast checker → · Palette generator →

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