#AF268E#AF268E

#AF268E is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.6% C 0.200 H 340.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF268E
RGBrgb(175, 38, 142)
HSLhsl(314, 64%, 42%)
HSVhsv(314, 78%, 69%)
CMYKcmyk(0%, 78.3%, 18.9%, 31.4%)
CIE-LABlab(41.93, 63.02, -25.40)
CIE-LCHlch(41.93, 67.95, 338.05°)
OKLaboklab(52.6% 0.1882 -0.0687)
OKLCHoklch(52.6% 0.2 340)
XYZxyz(23.2555, 12.4555, 26.7654)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF268E #26AF47
analogous
#8C26AF #AF268E #AF2649
triadic
#AF268E #8EAF26 #268EAF
tetradic
#AF268E #AF8C26 #26AF47 #2649AF
square
#AF268E #AF8C26 #26AF47 #2649AF
split-complementary
#AF268E #49AF26 #26AF8C
monochromatic
#4A103C #7D1B65 #AF268E #D53DB0 #E070C5

Accessibility & contrast

On white

6.02
#AF268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF268E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF268E#FFFFFF#000000##FFFFFF
##AF268E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#BA2B58
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af268e;
/* rgb */ color: rgb(175, 38, 142);
/* oklch */ color: oklch(52.6% 0.200 340.0);
Tailwind
colors: {
  custom: {
    50: '#cb70af',
    500: '#af268e',
    950: '#000000',
  },
}
SCSS
$custom: #af268e;
$custom-light: #cb70af;
$custom-dark: #000000;
JSON
{
  "hex": "#af268e",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 314.453,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.20033,
    "h": 340
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#AF268E
secondary
#6AC780
accent
#E76940
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF268E

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

Preview Lab → · Contrast checker → · Palette generator →

#AF268E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva