#2F0225#2F0225

#2F0225 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.086 H 338.8°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#2F0225
RGBrgb(47, 2, 37)
HSLhsl(313, 92%, 10%)
HSVhsv(313, 96%, 18%)
CMYKcmyk(0%, 95.7%, 21.3%, 81.6%)
CIE-LABlab(7.06, 26.80, -11.38)
CIE-LCHlch(7.06, 29.12, 336.99°)
OKLaboklab(21% 0.0804 -0.0311)
OKLCHoklch(21% 0.086 338.8)
XYZxyz(1.5280, 0.7815, 1.8203)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0225 #022F0C
analogous
#23022F #2F0225 #2F020F
triadic
#2F0225 #252F02 #02252F
tetradic
#2F0225 #2F2302 #022F0C #020F2F
square
#2F0225 #2F2302 #022F0C #020F2F
split-complementary
#2F0225 #0F2F02 #022F23
monochromatic
#1D0117 #1D0117 #2F0225 #6A0453 #A40781

Accessibility & contrast

On white

18.16
#2F0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0225
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0225#FFFFFF#000000##FFFFFF
##2F02251.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041126
Deuteranopia (green-blind)
#131824
Tritanopia (blue-blind)
#320412
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0225;
/* rgb */ color: rgb(47, 2, 37);
/* oklch */ color: oklch(21.0% 0.086 338.8);
Tailwind
colors: {
  custom: {
    50: '#6a485f',
    500: '#2f0225',
    950: '#000000',
  },
}
SCSS
$custom: #2f0225;
$custom-light: #6a485f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0225",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 313.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20997,
    "c": 0.08616,
    "h": 338.8
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#2F0225
secondary
#19742D
accent
#FF5829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0225

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

Preview Lab → · Contrast checker → · Palette generator →

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