#2F0A28#2F0A28

#2F0A28 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.074 H 336.1°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#2F0A28
RGBrgb(47, 10, 40)
HSLhsl(311, 65%, 11%)
HSVhsv(311, 79%, 18%)
CMYKcmyk(0%, 78.7%, 14.9%, 81.6%)
CIE-LABlab(8.78, 23.02, -10.98)
CIE-LCHlch(8.78, 25.50, 334.51°)
OKLaboklab(22.33% 0.0673 -0.0298)
OKLCHoklch(22.33% 0.074 336.1)
XYZxyz(1.6639, 0.9748, 2.1076)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A28 #0A2F11
analogous
#230A2F #2F0A28 #2F0A15
triadic
#2F0A28 #282F0A #0A282F
tetradic
#2F0A28 #2F230A #0A2F11 #0A152F
square
#2F0A28 #2F230A #0A2F11 #0A152F
split-complementary
#2F0A28 #152F0A #0A2F23
monochromatic
#190515 #190515 #2F0A28 #611553 #941F7E

Accessibility & contrast

On white

17.57
#2F0A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A28
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A28#FFFFFF#000000##FFFFFF
##2F0A281.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1529
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#320C17
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0a28;
/* rgb */ color: rgb(47, 10, 40);
/* oklch */ color: oklch(22.3% 0.074 336.1);
Tailwind
colors: {
  custom: {
    50: '#694c62',
    500: '#2f0a28',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a28;
$custom-light: #694c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a28",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 40
  },
  "hsl": {
    "h": 311.351,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22326,
    "c": 0.07363,
    "h": 336.1
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#2F0A28
secondary
#296C35
accent
#E86040
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0A28

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

Preview Lab → · Contrast checker → · Palette generator →

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