#2F0E28#2F0E28

#2F0E28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.066 H 336.6°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2F0E28
RGBrgb(47, 14, 40)
HSLhsl(313, 54%, 12%)
HSVhsv(313, 70%, 18%)
CMYKcmyk(0%, 70.2%, 14.9%, 81.6%)
CIE-LABlab(9.57, 20.84, -9.74)
CIE-LCHlch(9.57, 23.00, 334.94°)
OKLaboklab(22.91% 0.0609 -0.0264)
OKLCHoklch(22.91% 0.066 336.6)
XYZxyz(1.7123, 1.0717, 2.1238)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E28 #0E2F15
analogous
#260E2F #2F0E28 #2F0E18
triadic
#2F0E28 #282F0E #0E282F
tetradic
#2F0E28 #2F260E #0E2F15 #0E182F
square
#2F0E28 #2F260E #0E2F15 #0E182F
split-complementary
#2F0E28 #182F0E #0E2F26
monochromatic
#180714 #180714 #2F0E28 #5E1C50 #8D2A78

Accessibility & contrast

On white

17.29
#2F0E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E28
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E28#FFFFFF#000000##FFFFFF
##2F0E281.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1729
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#321019
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0e28;
/* rgb */ color: rgb(47, 14, 40);
/* oklch */ color: oklch(22.9% 0.066 336.6);
Tailwind
colors: {
  custom: {
    50: '#694e62',
    500: '#2f0e28',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e28;
$custom-light: #694e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e28",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 312.727,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22909,
    "c": 0.06634,
    "h": 336.6
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#2F0E28
secondary
#2F693C
accent
#DD6A4A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F0E28

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

Preview Lab → · Contrast checker → · Palette generator →

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